Type Alias: EventOpenedListener()
EventOpenedListener: (
socket) =>void
Defined in: src/client.ts:112
The first argument is actually the WebSocket, but to avoid
bundling DOM typings because the client can run in Node env too,
you should assert the websocket type during implementation.
Parameters
socket
unknown
Returns
void