HttpClient

Trait HttpClient 

Source
pub trait HttpClient:
    Clone
    + Send
    + Sync
    + Unpin {
    type RequestBuilder: HttpRequestBuilder;

    // Required method
    fn get(
        &self,
        url: Url,
        range: Option<ProgressEntry>,
    ) -> Self::RequestBuilder;
}

Required Associated Types§

Required Methods§

Source

fn get(&self, url: Url, range: Option<ProgressEntry>) -> Self::RequestBuilder

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl HttpClient for Client

Implementors§