pub trait HttpClient:
Send
+ Sync
+ Any {
// Required method
fn send(
&'static self,
request: Request,
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send>>;
// Provided method
fn is_cache_manager(&self) -> bool { ... }
}Expand description
HTTP client backend.
See http_client for more details.
Required Methods§
Provided Methods§
Sourcefn is_cache_manager(&self) -> bool
fn is_cache_manager(&self) -> bool
If the client manages cache and cookie storage.
Is false by default. When false the http_cache is used before and after send.