Marco Oehler
/
Lab5
ROME 2 Lab5
HTTPScript.cpp@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.cpp |
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 | #include "HTTPScript.h" |
oehlemar | 0:893a1e710078 | 8 | |
oehlemar | 0:893a1e710078 | 9 | using namespace std; |
oehlemar | 0:893a1e710078 | 10 | |
oehlemar | 0:893a1e710078 | 11 | HTTPScript::HTTPScript() {} |
oehlemar | 0:893a1e710078 | 12 | |
oehlemar | 0:893a1e710078 | 13 | HTTPScript::~HTTPScript() {} |
oehlemar | 0:893a1e710078 | 14 | |
oehlemar | 0:893a1e710078 | 15 | /** |
oehlemar | 0:893a1e710078 | 16 | * This method must be implemented by derived classes. |
oehlemar | 0:893a1e710078 | 17 | * It gets called by the http server, when an object of this class is |
oehlemar | 0:893a1e710078 | 18 | * registered with the server, and the corresponding script is called |
oehlemar | 0:893a1e710078 | 19 | * by an http client. |
oehlemar | 0:893a1e710078 | 20 | * @param names a vector of the names of arguments passed to the server by |
oehlemar | 0:893a1e710078 | 21 | * the client with a URL. |
oehlemar | 0:893a1e710078 | 22 | * @param values a vector of the corresponding values of arguments passed |
oehlemar | 0:893a1e710078 | 23 | * to the server. |
oehlemar | 0:893a1e710078 | 24 | */ |
oehlemar | 0:893a1e710078 | 25 | string HTTPScript::call(vector<string> names, vector<string> values) { |
oehlemar | 0:893a1e710078 | 26 | |
oehlemar | 0:893a1e710078 | 27 | return ""; |
oehlemar | 0:893a1e710078 | 28 | } |
oehlemar | 0:893a1e710078 | 29 |