felangel / felangel/web_socket_client

docs: authentication issues on connect

Offen
#75 2 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
documentation
Vorherrschende Sprache
Dart
Sterne
177
Forks
44
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.