Builder
Properties
Authentication token for the PubNub client. This token is required on the client side when Access Manager (PAM) is enabled for PubNub keys. It can be generated using the PubNub.grantToken method, which should be executed on the server side with a PubNub instance initialized using the secret key.
How long before the client gives up trying to connect with the server.
CryptoModule is responsible for handling encryption and decryption. If set, all communications to and from PubNub will be encrypted.
Whether to include a PubNub.instanceId with every request.
Whether to include a PubNub.requestId with every request.
For non subscribe operations (publish, herenow, etc), This property relates to a read timeout that is applied from the moment the connection between a client and the server has been successfully established. It defines a maximum time of inactivity between two data packets when waiting for the server's response.
The publish key from the admin panel (only required if publishing).
Retry configuration for requests. Defaults to RetryConfiguration.Exponential enabled only for subscription endpoint (other endpoints are excluded).
The subscribe key from the admin panel.
Functions
Create a PNConfiguration object with values from this builder.