uhttpd add new rest mechanism. rest like.

This commit is contained in:
jbnadal
2018-05-22 14:50:36 +02:00
parent 81442524a3
commit 68c0d02078
10 changed files with 194 additions and 170 deletions

View File

@@ -33,6 +33,7 @@
/*----------------------------- Dependencies --------------------------------*/
struct client;
struct json_object;
/*--------------------------------- CLASS ----------------------------------*/
@@ -41,6 +42,7 @@ class HttpParameter
public:
HttpParameter(void);
void parse_from_uri(struct json_object *a_root_node, const std::string &a_parameters);
std::string parse_from_uri(const std::string &a_parameters);
bool parse(client *a_client);