src code

instance method Server#onClientOpen

Server#onClientOpen(client) → undefined

Event handler that is called every time a WebSocket client makes a connection to this server. This function should be overridden in a subclass to actually be any useful.