Nicolas Borla / Mbed OS ROME2_Robot_Firmware
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HTTPScript.cpp Source File

HTTPScript.cpp

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