Module provider

Module provider 

Source
Expand description

The low level server side API

Note that while using this API directly is fine, the standard way to provide data is to just register a crate::BlobsProtocol protocol handler with an iroh::Endpoint.

Modules§

events

Structs§

ProgressReader
ProgressWriter
Wrapper for a quinn::SendStream with additional per request information.
StreamPair
A pair of SendStream and RecvStream with additional context data.
TransferStats
Statistics about a successful or failed transfer.

Functions§

handle_connection
Handle a single connection.
handle_get
Handle a single get request.
handle_get_many
Handle a single get request.
handle_observe
Handle a single push request.
handle_push
Handle a single push request.