Marco Oehler / Mbed OS Lab7
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HTTPScript.cpp Source File

HTTPScript.cpp

00001 /*
00002  * HTTPScript.cpp
00003  * Copyright (c) 2020, ZHAW
00004  * All rights reserved.
00005  */
00006 
00007 #include "HTTPScript.h"
00008 
00009 using namespace std;
00010 
00011 HTTPScript::HTTPScript() {}
00012 
00013 HTTPScript::~HTTPScript() {}
00014 
00015 /**
00016  * This method must be implemented by derived classes.
00017  * It gets called by the http server, when an object of this class is
00018  * registered with the server, and the corresponding script is called
00019  * by an http client.
00020  * @param names a vector of the names of arguments passed to the server by
00021  * the client with a URL.
00022  * @param values a vector of the corresponding values of arguments passed
00023  * to the server.
00024  */
00025 string HTTPScript::call(vector<string> names, vector<string> values) {
00026     
00027     return "";
00028 }
00029