Home
last modified time | relevance | path

Searched refs:HttpStream (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
H A Dstream.rs32 pub struct HttpStream<T> { struct
37 impl<T> AsyncRead for HttpStream<T> implementation
51 impl<T> AsyncWrite for HttpStream<T> implementation
73 impl<T> ConnInfo for HttpStream<T> { implementation
83 impl<T> HttpStream<T> { implementation
85 pub fn new(io: T, detail: ConnDetail) -> HttpStream<T> { in new()
86 HttpStream { detail, stream: io } in new()
H A Dmod.rs134 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()