Skip to main content

# WebSocketEvents

    type WebSocketEvents = {
      websocket.message: WebSocketMessageListener;
    };

Event types available for WebSocket operations.

## See​

WebSocketMessageListener

## Properties​

### websocket.message​

    websocket.message: WebSocketMessageListener;

Event is fired when a WebSocket event message is received for an active subscription.

Use WebSocketMessageListener to handle this event