Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: HTTPScript.h
- Revision:
- 0:3fb3c13f3cf5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HTTPScript.h Wed Apr 15 12:53:31 2020 +0000 @@ -0,0 +1,28 @@ +/* + * HTTPScript.h + * Copyright (c) 2020, ZHAW + * All rights reserved. + */ + +#ifndef HTTP_SCRIPT_H_ +#define HTTP_SCRIPT_H_ + +#include <string> +#include <vector> + +/** + * This is the abstract http script superclass that needs to be derived + * by application specific http scripts. + * @see HTTPServer + */ +class HTTPScript { + + public: + + HTTPScript(); + virtual ~HTTPScript(); + virtual std::string call(std::vector<std::string> names, std::vector<std::string> values); +}; + +#endif /* HTTP_SCRIPT_H_ */ +