Expand description
REST API for the HOPRd node.
Modules§
Structs§
- ApiDoc
- Listener
Id - Rest
ApiParameters - Parameters needed to construct the Rest API via
serve_api
. - Security
Addon
Constants§
- HOPR_
TCP_ BUFFER_ SIZE - Size of the buffer for forwarding data to/from a TCP stream.
- HOPR_
UDP_ BUFFER_ SIZE - Size of the buffer for forwarding data to/from a UDP stream.
- HOPR_
UDP_ QUEUE_ SIZE - Size of the queue (back-pressure) for data incoming from a UDP stream.
Functions§
- serve_
api - Starts the Rest API listener and router.