|
openthread-br
0.3.0-72c0388
|
#include <src/rest/rest_web_server.hpp>
Public Member Functions | |
| RestWebServer (ControllerOpenThread &aNcp) | |
| ~RestWebServer (void) override | |
| void | Init (void) |
| void | Update (MainloopContext &aMainloop) override |
| void | Process (const MainloopContext &aMainloop) override |
This class implements a REST server.
| otbr::rest::RestWebServer::RestWebServer | ( | ControllerOpenThread & | aNcp | ) |
The constructor to initialize a REST server.
| [in] | aNcp | A reference to the NCP controller. |
|
override |
The destructor destroys the server instance.
| void otbr::rest::RestWebServer::Init | ( | void | ) |
This method initializes the REST server.
|
overridevirtual |
This method processes mainloop events.
| [in] | aMainloop | A reference to the mainloop context. |
Implements otbr::MainloopProcessor.
|
overridevirtual |
This method updates the mainloop context.
| [in,out] | aMainloop | A reference to the mainloop to be updated. |
Implements otbr::MainloopProcessor.
1.8.17