OnConnectedArgs interface
OnConnected 回调的参数
属性
| connection |
连接 ID |
| user |
客户端连接的用户 ID |
属性详细信息
connectionId
连接 ID
connectionId: string
属性值
string
userId
客户端连接的用户 ID
userId: string
属性值
string