http_type/stream/
type.rs

1use crate::*;
2
3/// A thread-safe reference-counted `TcpStream`.
4pub type ArcStream = Arc<TcpStream>;
5
6/// A socket host represented by an IP address.
7pub type SocketHost = IpAddr;
8
9/// A socket port number.
10pub type SocketPort = u16;