23 #ifndef _LIBS_WEBVIEW_REST_API_MANAGER_H_
24 #define _LIBS_WEBVIEW_REST_API_MANAGER_H_
26 #include <core/threading/mutex.h>
50 std::map<std::string, WebviewRestApi *> apis_;
Mutex mutual exclusion lock.
void unregister_api(WebviewRestApi *api)
Remove a request processor.
~WebviewRestApiManager()
Destructor.
WebviewRestApi * get_api(std::string &name)
Find API by name.
void register_api(WebviewRestApi *api)
Add a REST API.
WebviewRestApiManager()
Constructor.
Mutex & mutex()
Get internal mutex.
Webview REST API component.
Fawkes library namespace.