Skip to content

added waitForConnection method#68

Open
akiraz wants to merge 1 commit intojoewalnes:masterfrom
akiraz:master
Open

added waitForConnection method#68
akiraz wants to merge 1 commit intojoewalnes:masterfrom
akiraz:master

Conversation

@akiraz
Copy link
Copy Markdown

@akiraz akiraz commented Mar 21, 2016

Firstly thanks for the reconnecting-websocket.js.
While I'm using it on my project , I am getting "Still in CONNECTING state " error intermittently.
To solve this issue , I added a method named as waitForConnection().
Before ws.send method executes , connection state must be 1 , otherwise Still in CONNECTING state error is thrown.

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