Module iroh_bytes::get

source ·
Expand description

The client side API

To get data, create a connection using iroh-net or use any quinn connection that was obtained in another way.

Create a request describing the data you want to get.

Then create a state machine using fsm::start and drive it to completion by calling next on each state.

For some states you have to provide additional arguments when calling next, or you can choose to finish early.

Modules§

  • Functions that use the iroh-bytes protocol in conjunction with a bao store.
  • Error returned from get operations
  • Finite state machine for get responses.
  • Types for get progress state management.
  • Utilities for complex get requests.

Structs§

  • Stats about the transfer.

Enums§