Skip to main content

WebSocketEventMessageInfo

type WebSocketEventMessageInfo = {
payload: Record<string, unknown>;
resource: string;
subscriptionId: string;
};

Payload delivered with a WebSocket event message

Properties

payload

payload: Record<string, unknown>;

The event payload forwarded from the server (opaque to the pss gateway)


resource

resource: string;

Name of the resource that produced the event


subscriptionId

subscriptionId: string;

Subscription that matched this event