wip manage controller
This commit is contained in:
@@ -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;
|
||||
*/
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user