Skip to main content

fetch_range

Function fetch_range 

Source
pub fn fetch_range(
    base: &str,
    token: &str,
    handle: &str,
    start: u64,
    len: Option<u64>,
) -> Result<FetchResult, PeerError>
Expand description

Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Fetches a byte range of a shared handle from a peer at base (e.g. "192.168.1.20:54123") into memory. len = None fetches to the end.