 |
Leosac
0.8.0
Open Source Access Control
|
bool register_typed_handler(const WSHandler &handler, const std::string &type)
Register an handler that is ready to be invoked in the websocket thread.
void register_crud_handler_external(const std::string &resource_name, CRUDResourceHandler::Factory factory)
Register a CRUD handler from an external thread.
void unregister_handler(const std::string &name)
Remove an Asio based handler.
void register_crud_handler(const std::string &resource_name, CRUDResourceHandler::Factory factory)
CRUDResourceHandlerUPtr(*)(RequestContext) Factory
This is the header file for a generated source file, GitSHA1.cpp.
bool register_asio_handler(const Service::WSHandler &handler, const std::string &name)
This function block the calling thread until the WebSocket thread has processed the handler registrat...
std::function< boost::optional< json >(const RequestContext &)> WSHandler
void unregister_handler(const std::string &name)
Remove an handler by name.