Commands are functions that your app can dispatch to perform PubNub server operations and process the response. When you dispatch a command, the command returns an action that the process has begun. After the operation is performed on the PubNub server, the command dispatches an action that acknowledges either the success or failure of the operation. The reducer that responds to each action updates the application state in your store.
The commands for each feature fall into the following operational categories:
|Returns the specified user object, optionally including the user's custom data object.|
|Returns a paginated list of user objects, optionally including each user's custom data object.|
|Returns the specified channel object, optionally including the channel's custom data object.|
|Returns a paginated list of channel objects, optionally including each channel's custom data object.|
|Returns a list of channel memberships for a specified user.|
|Returns a list of members in a specified channel.|
|Fetch historical messages of a channel.|
|Obtain information about the current state of a channel, including a list of unique |
userIds currently subscribed to the channel and the total occupancy count of the channel.
|Get the current state information based on the current |
uuid for either specified
|Send a message packaged in a request object.|
For more details about the concepts discussed in the PubNub Redux framework documentation, you should review the following references: