Skip to main content

create_server

Function create_server 

Source
pub fn create_server(connection_listener: Option<Value>) -> Value
Expand description

Build a net.Server. An optional connectionListener is stored on the object and invoked (plus connection emitted) for every accepted socket.