Skip to main content
zerotal

Documentation


Documentation / @zerotal/broadcasting / WsConnectionData

Interface: WsConnectionData

Defined in: broadcasting/src/types.ts:29

Properties

id

id: string

Defined in: broadcasting/src/types.ts:31

Unique connection ID assigned on upgrade.


userId?

optional userId?: string | number

Defined in: broadcasting/src/types.ts:33

User ID if the connection was authenticated during upgrade.


token?

optional token?: string

Defined in: broadcasting/src/types.ts:35

Raw auth token from the upgrade request (for lazy auth).