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