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.

Enums§

HandleGetError
HandleGetManyError
HandleObserveError
HandlePushError

Traits§

ErrorHandler
Describes how to handle errors for a stream.

Functions§

handle_connection
Handle a single connection.
handle_get
handle_get_many
handle_observe
handle_push
handle_stream