AlbaniGang / Mbed 2 deprecated Rome_P3

Dependencies:   mbed

Committer:
stollpa1
Date:
Wed Apr 08 09:13:33 2020 +0000
Revision:
1:bba0ec7e075a
P4 init;

Who changed what in which revision?

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