Open dannysofftie opened 5 years ago
Docs have not specified how to pass other options, similar to what js client does. The only specified option is url, would like to pass options like below in js client.
var options = { path: '/socketcluster/', port: 8000, hostname: '127.0.0.1', autoConnect: true, secure: false, rejectUnauthorized: false, connectTimeout: 10000, //milliseconds ackTimeout: 10000, //milliseconds channelPrefix: null, disconnectOnUnload: true, multiplex: true, autoReconnectOptions: { initialDelay: 10000, //milliseconds randomness: 10000, //milliseconds multiplier: 1.5, //decimal maxDelay: 60000 //milliseconds }, authEngine: null, codecEngine: null, subscriptionRetryOptions: {}, query: { yourparam: 'hello' } };
Docs have not specified how to pass other options, similar to what js client does. The only specified option is url, would like to pass options like below in js client.