Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update docs to include new retry syntax. Refs #94. * Retry connection to server indefinitely if retries is set to null. Refs #94. * Clear connection timeout function when connection is ended. - with infinite retries this was not being cancelled in the back. * Add test for infinite retries. Refs #94. * Breakout connect() method into seperate functions. Refs #94. - seperate method for handling connection retry attempts - seperate method for handling socket errors * Add test for clearing timeout for connection retry. Refs #94. * Add indefinite retry logic to websocket client * Add ws client tests for indefinite retry * Test _idleTimeout value for timer since node v10.x doesnt set destroyed to true * Allow 90 char max line length.
- Loading branch information
Showing
6 changed files
with
184 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters