|
Ersa Wearable Platform
Embedded smartwatch firmware and application framework
|
#include <http_server.h>
Public Member Functions | |
| virtual | ~IHttpServer ()=default |
| virtual Result< void > | begin (uint16_t port)=0 |
| virtual void | route (std::string_view path, HttpMethod method, HttpHandler handler, void *context)=0 |
| virtual void | routeNotFound (HttpHandler handler, void *context)=0 |
| virtual void | handleClient ()=0 |
| virtual void | stop ()=0 |
| virtual bool | hasArgument (std::string_view name) const =0 |
| virtual std::string | argument (std::string_view name) const =0 |
| virtual void | send (uint16_t status, std::string_view contentType, std::string_view body)=0 |
Request/response server contract for configuration and local web apps.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |