felangel / felangel/web_socket_client

docs: authentication issues on connect

未关闭
#75 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
documentation
主要语言
Dart
星标
177
派生
44
PR 合并指标
30 天内没有已合并 PR

描述

**Description**

Thank you for the package. I want to know how the package handles a 401 on the handshaking GET call before
upgrading the http connection to a websocket.

I need to catch this 401 in order to not reattempt to reconnect. As far as i understood your code, the Websocket is trying to reconnect on every kind of Exception. How could i implement it, that i catch the 401 and prevent a reconnect?

Thank you for your support.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。