#include <dht_proxy_server.h>
|
| using | clock = std::chrono::steady_clock |
| using | time_point = clock::time_point |
Describes the REST API
Definition at line 77 of file dht_proxy_server.h.
◆ clock
| using dht::DhtProxyServer::clock = std::chrono::steady_clock |
◆ time_point
| using dht::DhtProxyServer::time_point = clock::time_point |
◆ DhtProxyServer()
Start the Http server for OpenDHT
- Parameters
-
| dht | the DhtRunner linked to this proxy server |
| port | to listen |
| pushServer | where to push notifications |
- Note
- if the server fails to start (if port is already used or reserved), it will fails silently
◆ getNode()
| std::shared_ptr< DhtRunner > dht::DhtProxyServer::getNode |
( |
| ) |
const |
|
inline |
◆ stats()
| std::shared_ptr< ServerStats > dht::DhtProxyServer::stats |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- /home/noptrix/ba/blackarch/packages/opendht-c/src/opendht/include/opendht/dht_proxy_server.h