Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConnectResponse

Package version

Response of the connect event.

Hierarchy

  • ConnectResponse

Index

Properties

Optional groups

groups: string[]

Set the groups the connection would like to join.

Optional roles

roles: string[]

Set the roles the connection belongs to.

Optional subprotocol

subprotocol: undefined | string

Set the subprotocol for the connection to complete WebSocket handshake.

Optional userId

userId: undefined | string

Set the userId for the connection.

Generated using TypeDoc