pub trait HttpClient:
Send
+ Sync
+ 'static {
// Required method
fn request(
&self,
req: Request<Full<Bytes>>,
) -> Pin<Box<dyn Future<Output = Result<BytesResponse, Error>> + Send>>;
}Expand description
A HTTP client abstraction