Skip to content

ClientOptions

Calculus edited this page Feb 23, 2024 · 2 revisions

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.

Clone this wiki locally