Trait actix_http::client::Connection [−][src]
Associated Types
type Io: AsyncRead + AsyncWrite + Unpin[src]
Required methods
fn send_request<B, H>(
self,
head: H,
body: B
) -> LocalBoxFuture<'static, Result<(ResponseHead, Payload), SendRequestError>> where
B: MessageBody + 'static,
H: Into<RequestHeadType> + 'static, [src]
self,
head: H,
body: B
) -> LocalBoxFuture<'static, Result<(ResponseHead, Payload), SendRequestError>> where
B: MessageBody + 'static,
H: Into<RequestHeadType> + 'static,
Send request and body
fn open_tunnel<H: Into<RequestHeadType> + 'static>(
self,
head: H
) -> LocalBoxFuture<'static, Result<(ResponseHead, Framed<Self::Io, ClientCodec>), SendRequestError>>[src]
self,
head: H
) -> LocalBoxFuture<'static, Result<(ResponseHead, Framed<Self::Io, ClientCodec>), SendRequestError>>
Send request, returns Response and Framed