Searched refs:HttpStream (Results 1 – 2 of 2) sorted by relevance
32 pub struct HttpStream<T> { struct37 impl<T> AsyncRead for HttpStream<T> implementation51 impl<T> AsyncWrite for HttpStream<T> implementation73 impl<T> ConnInfo for HttpStream<T> { implementation83 impl<T> HttpStream<T> { implementation85 pub fn new(io: T, detail: ConnDetail) -> HttpStream<T> { in new()86 HttpStream { detail, stream: io } in new()
134 use crate::async_impl::connector::stream::HttpStream;140 type Stream = HttpStream<TcpStream>;170 Ok(HttpStream::new(stream, detail)) in connect()187 use crate::async_impl::connector::stream::HttpStream;196 type Stream = HttpStream<MixStream<TcpStream>>;244 Ok(HttpStream::new(MixStream::Http(stream), detail)) in connect()289 ) -> Result<HttpStream<MixStream<TcpStream>>, HttpClientError> { in https_connect()335 Ok(HttpStream::new(MixStream::Https(stream), detail)) in https_connect()