Feature Support for PubNub Rust SDK

Access Manager

PubNub provides builtin enterprise-grade security with fine-grained access control to all of your PubNub applications with Access Manager, Message Layer encryption with AES256, and Transport Layer Security with TLS and SSL.
NameDescription
Grant TokenThe SDK supports Grant Token.
Parse TokenThe SDK supports Parse Token.
Set TokenThe SDK supports Set Token.

Publish

Publish a message on a channel.
NameDescription
Store FlagAbility to skip message from storage.
Publish RAW JSONPublish JSON as is.
Publish with MetadataPublish extra meta with the request used for Message Filtering.
Publish using GET Publish using HTTP GET.
Publish using POSTPublish using HTTP POST.
Publish AsynchronouslyPublish the message asynchronously.
Replication FlagControls whether the message should be replicated across stores.
TTL per published messageOffer the ability to set a per message time to live in storage.

Subscribe

This function causes the client to create an open TCP socket to the PubNub Real-Time Network and begin listening for messages on a specified channel.
NameDescription
Subscribe to channelsAbility to subscribe to channels.
Subscribe to channel groupsAbility to subscribe to channel groups.
Subscribe to presence channelsAbility to subscribe to presence channels.
Subscribe to presence channel groupsAbility to subscribe to presence channel groups.
Subscribe with timetokenSubscribe with timetoken.
Filter ExpressionStream Filter allows a subscriber to apply a filter to only receive messages that satisfy the conditions of the filter. The message filter is set by the subscribing client(s) but it is applied on the server side thus preventing unwanted messages (those that do not meet the conditions of the filter) from reaching the subscriber.
Publisher UUIDHas the publisher UUID of the published message.
PubSub v2 compatibilityUses PubSub v2 to make subscribe calls.
Signal ListenerHas support to listen to Signal messages.
App Context API Membership events listenerHas support to listen to Membership Events from App Context API.
App Context API Channel events listenerHas support to listen to Channel Events from App Context API.
App Context API UUID events listenerHas support to listen to UUID Events from App Context API.
Message Actions events listenerHas support to listen to Action Events from Message Reactions API.
Files Events ListenerHas support to listen to Files Events from File Sharing API.

Presence

PubNub's Channel Presence empowers your applications to Track online and offline status of users and devices in realtime.
NameDescription
Here NowObtain information about the current state of a channel including a list of unique user IDs currently subscribed to the channel and the total occupancy count of the channel.
Where NowObtain information about the current list of a channels to which a UUID is subscribed.
Set StateSet state is used to set key/value pairs specific to a subscriber UUID.
Get StateGet state is used to get the key/value pairs specific to a subscriber UUID.
HeartbeatTimeout events are triggered when the server does not hear a heartbeat from the client within a default timeout time of 280 seconds.
Presence Delta IntervalsAfter a certain amount of occupants on a channel, the presence service stops sending individual join and leave events and instead starts sending interval notifications of people that join or leave. The amount at which delta kicks in is configurable on the admin panel.
Last updated on
On this page