Enum hyper::net::HttpStream
[-] [+]
[src]
pub enum HttpStream {
Http(CloneTcpStream),
Https(SslStream<CloneTcpStream>),
}A wrapper around a TcpStream.
Variants
Http | A stream over the HTTP protocol. |
Https | A stream over the HTTP protocol, protected by SSL. |