felangel / felangel/web_socket_client

docs: authentication issues on connect

Open
#75 2 comments 2 reactions 0 assignees View on GitHub
documentation
Dominant language
Dart
Stars
177
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.