ClientOptions - antilandjs/antiland.js GitHub Wiki

Options for a client.

Types

Properties

debug : boolean

Warn possible errors.

fallback : boolean

Whether to fallback to the PubNubBroker if the WebSocket connection fails.

maxReconnectAttempts : boolean

Maximum number of attempts to reconnect to the server before throwing an error.

pubnub : boolean

Whether to connect to the PubNubBroker instead of the WebSocket server.