instance method Server#onClientOpen
Server#onClientOpen(client) → undefined
-
client
(Client
) – The connection instance, in case you would like toClient#send
orClient#close
this connection specifically.
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.