felangel / felangel/web_socket_client

docs: authentication issues on connect

Aperta
#75 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
documentation
Lingua principale
Dart
Stelle
177
Fork
44
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.