SocketClient.setupEvents

Sets up events for the client.

Parameters

connectEvents
Type: SocketEventChain!T

The connect events to setup.

disconnectEvents
Type: SocketEventChain!T

The disconnect events to setup.

receiveEvents
Type: SocketEventChain!T

The receive events to setup.

errorEvents
Type: SocketEventChain!T

The error events to setup.

Meta