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::net_protocol
protocol
handler with an iroh::Endpoint
.
Structs§
- A sender for provider events.
- Wrapper for a [
quinn::SendStream
] with additional per request information. - Statistics about a successful or failed transfer.
Enums§
- Provider progress events, to keep track of what the provider is doing.
Traits§
- Helper to lazyly create an
Event
, in the case that the event creation is expensive and we want to avoid it if the progress sender is disabled.
Functions§
- Handle a single connection.
- Handle a single get request.
- Handle a single get request.
- Handle a single push request.
- Handle a single push request.
- Read the request from the getter.