SocketClient.setupEvents

Sets up events for the client.

Parameters

connectEvents SocketEventChain!T

The connect events to setup.

disconnectEvents SocketEventChain!T

The disconnect events to setup.

receiveEvents SocketEventChain!T

The receive events to setup.

errorEvents SocketEventChain!T

The error events to setup.

Meta