Skip to content

Conversation

@Al-ex-ei
Copy link

Problem

When webSocketFactory returns an already open WebSocket, the onopen callback never triggers and CONNECT frame is not sent.

Solution

Added readyState check: if already open, call the handler immediately; otherwise set onopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant