OptionalautomaticOptionaldebugEnable debug mode. This will log all events to the console.
DEBUG=iso-web:ws node test.js will also enable debug mode
OptionalprotocolsOptionalretryRetry options
OptionalshouldFunction to determine if the connection should be retried
Retries by default on all close events except 1008 (HTTP 400 equivalent) and 1011 (HTTP 500 equivalent) and connection timeout events
OptionaltimeoutTimeout in milliseconds for the connection to be established
Optionalws
Automatically open the connection