Marco Oehler
/
Lab5
HTTPScript.h@1:5201940a41c1, 2020-06-12 (annotated)
- Committer:
- oehlemar
- Date:
- Fri Jun 12 08:19:42 2020 +0000
- Revision:
- 1:5201940a41c1
- Parent:
- 0:893a1e710078
asdf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
oehlemar | 0:893a1e710078 | 1 | /* |
oehlemar | 0:893a1e710078 | 2 | * HTTPScript.h |
oehlemar | 0:893a1e710078 | 3 | * Copyright (c) 2020, ZHAW |
oehlemar | 0:893a1e710078 | 4 | * All rights reserved. |
oehlemar | 0:893a1e710078 | 5 | */ |
oehlemar | 0:893a1e710078 | 6 | |
oehlemar | 0:893a1e710078 | 7 | #ifndef HTTP_SCRIPT_H_ |
oehlemar | 0:893a1e710078 | 8 | #define HTTP_SCRIPT_H_ |
oehlemar | 0:893a1e710078 | 9 | |
oehlemar | 0:893a1e710078 | 10 | #include <string> |
oehlemar | 0:893a1e710078 | 11 | #include <vector> |
oehlemar | 0:893a1e710078 | 12 | |
oehlemar | 0:893a1e710078 | 13 | /** |
oehlemar | 0:893a1e710078 | 14 | * This is the abstract http script superclass that needs to be derived |
oehlemar | 0:893a1e710078 | 15 | * by application specific http scripts. |
oehlemar | 0:893a1e710078 | 16 | * @see HTTPServer |
oehlemar | 0:893a1e710078 | 17 | */ |
oehlemar | 0:893a1e710078 | 18 | class HTTPScript { |
oehlemar | 0:893a1e710078 | 19 | |
oehlemar | 0:893a1e710078 | 20 | public: |
oehlemar | 0:893a1e710078 | 21 | |
oehlemar | 0:893a1e710078 | 22 | HTTPScript(); |
oehlemar | 0:893a1e710078 | 23 | virtual ~HTTPScript(); |
oehlemar | 0:893a1e710078 | 24 | virtual std::string call(std::vector<std::string> names, std::vector<std::string> values); |
oehlemar | 0:893a1e710078 | 25 | }; |
oehlemar | 0:893a1e710078 | 26 | |
oehlemar | 0:893a1e710078 | 27 | #endif /* HTTP_SCRIPT_H_ */ |
oehlemar | 0:893a1e710078 | 28 |