Module iroh_bytes::get

source ·
Expand description

The client side API

To get data, create a connection using the dial function 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

  • Finite state machine for get responses

Structs

  • Stats about the transfer.

Enums