Function hyper_server::from_tcp
source · pub fn from_tcp(listener: TcpListener) -> Server
Expand description
Creates a new Server
instance using an existing std::net::TcpListener
.
pub fn from_tcp(listener: TcpListener) -> Server
Creates a new Server
instance using an existing std::net::TcpListener
.