Optional
retryOptional
retryHow many attempts to reconnect after connection loss. Defaults to no limit, but a default retryTimeout is set.
Optional
retryTimeout in ms after which to stop retrying and just fail. Defaults to 3000 ms.
Generated using TypeDoc
How much time to wait between reconnection attempts (if failed). Can also be a callback returning a delay in milliseconds. Defaults to 500 ms.