Function iroh_blobs::get::request::get_unverified_size
source · pub async fn get_unverified_size(
connection: &Connection,
hash: &Hash
) -> Result<(u64, Stats)>
Expand description
Get the claimed size of a blob from a peer.
This is just reading the size header and then immediately closing the connection. It can be used to check if a peer has any data at all.