Skip to main content

PubNubDeliveryMode

Properties

NameTypeRequiredDescription
transport_typePubNubDeliveryModeTransportTypeThe transport type for this subscription, or the channel by which an app should be notified of an event
encryptionboolOptional. Specifies if notification messages will be encrypted or not. Please note that for some event filters (e.g. presence) encryption is mandatory and false value provided by caller will be ignored.
addressstrPubNub channel name
subscriber_keystrPubNub credential required to subscribe to the channel
secret_keystrPubNub credential required to subscribe to the channel
encryption_algorithmEncryptionAlgorithm(Only for a "PubNub" transport, returned only if encryption is true) Encryption algorithm used
encryption_keystr(Only for a "PubNub" transport, returned only if encryption is true) Cryptographic key to decrypt PubNub notification messages

PubNubDeliveryModeTransportType

The transport type for this subscription, or the channel by which an app should be notified of an event

Properties

NameTypeRequiredDescription
PUBNUBstr"PubNub"

EncryptionAlgorithm

(Only for a "PubNub" transport, returned only if encryption is true) Encryption algorithm used

Properties

NameTypeRequiredDescription
AESstr"AES"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →