Optional
automaticOptional
debugEnable debug mode. This will log all events to the console.
DEBUG=iso-web:ws node test.js
will also enable debug mode
Optional
protocolsOptional
retryRetry options
Optional
shouldFunction 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
Optional
timeoutTimeout in milliseconds for the connection to be established
Optional
ws
Automatically open the connection