Server

constructor(connectionListener: (socket: Socket) -> Unit = definedExternally)(source)
constructor(options: ServerOpts = definedExternally, connectionListener: (socket: Socket) -> Unit = definedExternally)(source)