cyanray/cx-auto-sign

Websocket 每 5 分钟重连问题

Closed this issue · 0 comments

添加 clientFactory 参数解決

new WebsocketClient(url, () => new ClientWebSocket
{
    Options =
    {
        KeepAliveInterval = TimeSpan.FromMilliseconds(-1)
    }
})