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

« Back to documentation index

Show/hide line numbers HTTPScript.h Source File

HTTPScript.h

00001 /*
00002  * HTTPScript.h
00003  * Copyright (c) 2017, ZHAW
00004  * All rights reserved.
00005  *
00006  *  Created on: 02.02.2017
00007  *      Author: Marcel Honegger
00008  */
00009 
00010 #ifndef HTTP_SCRIPT_H_
00011 #define HTTP_SCRIPT_H_
00012 
00013 #include <string>
00014 #include <vector>
00015 
00016 using namespace std;
00017 
00018 /**
00019  * This is the abstract http script superclass that needs to be derived
00020  * by application specific http scripts.
00021  * @see HTTPServer
00022  */
00023 class HTTPScript {
00024     
00025     public:
00026         
00027                         HTTPScript();
00028         virtual         ~HTTPScript();
00029         virtual string  call(vector<string> names, vector<string> values);
00030 };
00031 
00032 #endif /* HTTP_SCRIPT_H_ */
00033