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

« Back to documentation index

Show/hide line numbers HTTPScript.h Source File

HTTPScript.h

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