src code

instance method Server#stop

Server#stop() → undefined

Stops the server from listening on the specified port. If the server is currently running, then Server#onClientClose will be called for all current connections.