Optional SocketEvent object that contains event handlers for WebSocket connections.
SocketEvent? event;