Function iroh_blobs::provider::send_blob

source ·
pub async fn send_blob<D: Map, W: AsyncStreamWriter>(
    db: &D,
    hash: Hash,
    ranges: &RangeSpec,
    writer: W,
    events: EventSender,
    mk_progress: impl Fn(u64) -> Event
) -> Result<(SentStatus, u64, SliceReaderStats)>
Expand description

Send a blob to the client.