ConnectedMessage interface
已连接消息
属性
| connection |
连接 ID |
| kind | 消息类型 |
| reconnection |
重新连接令牌。 仅在可靠协议中可用。 |
| user |
客户端连接的用户 ID |
属性详细信息
connectionId
连接 ID
connectionId: string
属性值
string
kind
消息类型
kind: "connected"
属性值
"connected"
reconnectionToken
重新连接令牌。 仅在可靠协议中可用。
reconnectionToken: string
属性值
string
userId
客户端连接的用户 ID
userId: string
属性值
string