Trait futures_http::reader::HttpReader
source · pub trait HttpReader:
AsyncRead
+ Unpin
+ Send
+ 'static {
// Provided methods
fn read_request(self) -> impl Future<Output = Result<Request<BodyReader>>>
where Self: Sized { ... }
fn read_response(self) -> impl Future<Output = Result<Response<BodyReader>>>
where Self: Sized { ... }
}