Skip to main content

Module server

Module server 

Source
Expand description

A tonic RPC server for Zebra’s indexer API.

Structs§

IndexerRPC
Indexer RPC service.

Constants§

HTTP2_KEEPALIVE_INTERVAL 🔒
Interval between HTTP/2 keepalive pings sent to detect dead connections.
HTTP2_KEEPALIVE_TIMEOUT 🔒
Timeout for HTTP/2 keepalive pings before the connection is closed.
MAX_CONCURRENT_STREAMS 🔒
Maximum concurrent HTTP/2 streams per connection.

Functions§

init
Initializes the indexer RPC server

Type Aliases§

ServerTask 🔒