iroh_blobs

Module get

Source
Expand description

The client side API

To get data, create a connection using [iroh] or use any iroh-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§

  • Finite state machine for get responses.
  • Utilities for complex get requests.

Structs§

  • Stats about the transfer.

Enums§

  • Failures for a fetch operation