felangel / felangel/web_socket_client

docs: authentication issues on connect

オープン
#75 コメント 2 件 リアクション 2 件 担当者 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 を短くまとめたダイジェスト。