wip manage controller

This commit is contained in:
2018-04-29 23:14:44 +02:00
parent 2f178a3e6b
commit e65a08ed1f
9 changed files with 143 additions and 39 deletions

View File

@@ -58,18 +58,22 @@ class RestController : public WebController
bool find(const std::string &an_url);
const Ubus &get_ubus(void) const;
bool is_raw_response(void);
/*
std::string get_method_get(void);
std::string get_method_put(void);
uint16_t get_timeout(void);
bool is_raw_response(void);
std::string get_method(uint8_t a_method);
*/
protected:
uint8_t m_method;
std::vector<std::string> m_endpoint;
Ubus m_ubus;
bool mf_raw_response;
/*
std::string m_name;
@@ -77,7 +81,6 @@ class RestController : public WebController
std::string m_method_get;
std::string m_method_put;
uint16_t m_timeout;
bool mf_raw_response;
*/
};