SocketCluster / socketcluster-client

JavaScript client for SocketCluster
MIT License
293 stars 91 forks source link

README does not specify autoReconnect in Connection Options #97

Closed ekamgit closed 6 years ago

ekamgit commented 6 years ago

The connection options section of the README mentions autoReconnectOptions but it does not set autoReconnect: true.

Is setting autoReconnect: true required if the autoReconnectOptions is defined? I think it is as I have been having issues maintaining a continuous connection and only just realised this option was not set in the example.

I included it now so will see how it goes.

jondubois commented 6 years ago

@ekamgit autoReconnect: true is the default so you don't have to specify it.