跳转到内容

RealtimeConnectionOptions

供支持自定义请求头的 WebSocket 客户端使用的连接地址、协议与握手参数。

expiresAt: string;

handshakeTimeout: number;

Node ws 的握手时限;不会超过ticket剩余时效。


headers: Record<string, string>;

protocols: ["tansr-realtime-v1", string];

sessionId: string;

url: string;