Skip to main content

fetch_with_limit

Function fetch_with_limit 

Source
pub async fn fetch_with_limit(
    host: &Url,
    version: Version,
    client: &Client,
    max_body_bytes: u64,
) -> Result<NodeInfo, Error>
Available on crate feature client only.
Expand description

fetch variant accepting an explicit body size cap.

ยงErrors

Same as fetch.