Marco Oehler / Mbed OS Lab4
Committer:
oehlemar
Date:
Wed Apr 15 12:53:31 2020 +0000
Revision:
0:3fb3c13f3cf5
Lab4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
oehlemar 0:3fb3c13f3cf5 1 /*
oehlemar 0:3fb3c13f3cf5 2 * HTTPScript.h
oehlemar 0:3fb3c13f3cf5 3 * Copyright (c) 2020, ZHAW
oehlemar 0:3fb3c13f3cf5 4 * All rights reserved.
oehlemar 0:3fb3c13f3cf5 5 */
oehlemar 0:3fb3c13f3cf5 6
oehlemar 0:3fb3c13f3cf5 7 #ifndef HTTP_SCRIPT_H_
oehlemar 0:3fb3c13f3cf5 8 #define HTTP_SCRIPT_H_
oehlemar 0:3fb3c13f3cf5 9
oehlemar 0:3fb3c13f3cf5 10 #include <string>
oehlemar 0:3fb3c13f3cf5 11 #include <vector>
oehlemar 0:3fb3c13f3cf5 12
oehlemar 0:3fb3c13f3cf5 13 /**
oehlemar 0:3fb3c13f3cf5 14 * This is the abstract http script superclass that needs to be derived
oehlemar 0:3fb3c13f3cf5 15 * by application specific http scripts.
oehlemar 0:3fb3c13f3cf5 16 * @see HTTPServer
oehlemar 0:3fb3c13f3cf5 17 */
oehlemar 0:3fb3c13f3cf5 18 class HTTPScript {
oehlemar 0:3fb3c13f3cf5 19
oehlemar 0:3fb3c13f3cf5 20 public:
oehlemar 0:3fb3c13f3cf5 21
oehlemar 0:3fb3c13f3cf5 22 HTTPScript();
oehlemar 0:3fb3c13f3cf5 23 virtual ~HTTPScript();
oehlemar 0:3fb3c13f3cf5 24 virtual std::string call(std::vector<std::string> names, std::vector<std::string> values);
oehlemar 0:3fb3c13f3cf5 25 };
oehlemar 0:3fb3c13f3cf5 26
oehlemar 0:3fb3c13f3cf5 27 #endif /* HTTP_SCRIPT_H_ */
oehlemar 0:3fb3c13f3cf5 28