|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
50 const boost::property_tree::ptree &cfg,
CoreUtilsPtr utils);
54 virtual void run()
override;
WebSockAPIModule(zmqpp::context &ctx, zmqpp::socket *pipe, const boost::property_tree::ptree &cfg, CoreUtilsPtr utils)
Base class for module implementation.
virtual void run() override
This is the main loop of the module.
CoreUtilsPtr core_utils()
This module explicitly expose CoreUtils to other object in the module.
A module that provide a websocket interface to Leosac.
uint16_t port_
Port to bind the websocket endpoint.
This is the header file for a generated source file, GitSHA1.cpp.
~WebSockAPIModule()=default
std::string interface_
IP address of the interface to listen on.
std::unique_ptr< WSServer > wssrv_
Our websocket server object.
std::shared_ptr< CoreUtils > CoreUtilsPtr