Crate hoprd_api

Source
Expand description

REST API for the HOPRd node.

Modules§

config

Structs§

ApiDoc
ListenerId
RestApiParameters
Parameters needed to construct the Rest API via serve_api.
SecurityAddon

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.

Type Aliases§

ListenerJoinHandles
MessageEncoder