pub trait HttpClient:
'static
+ Send
+ Sync {
// Required method
fn get(
&self,
url: &str,
follow_redirects: bool,
) -> BoxFuture<'static, Result<HttpResponse>>;
}Expand description
A trait for making HTTP requests.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".