felangel / felangel/web_socket_client

docs: authentication issues on connect

Aberta
#75 2 comentários 2 reações 0 responsáveis Ver no GitHub
documentation
Linguagem predominante
Dart
Estrelas
177
Forks
44
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.