pub async fn fetch_with_limit( host: &Url, version: Version, client: &Client, max_body_bytes: u64, ) -> Result<NodeInfo, Error>
client
fetch variant accepting an explicit body size cap.
fetch
Same as fetch.