We released PieSocket-JS v1.0.15 today, this new version brings two new methods for the PieSocket class objects.
- pieSocket.unsubscribe - It is now possible to unsubscribe from a channel.
- pieSocket.getConnections - View all channel subscriptions of a client.
On popular demand, we have changed the allowed number of characters in the channel_id parameter of the WebSocket server API.
Updated doc: https://www.piesocket.com/docs/3.0/overview
- Channel ID can contain characters [a-z], [A-Z], [0-9] - Channel ID can contain special characters _ (underscore) and - (hyphen).
Now it is easy to get a ping for a pong and find the number of total connected clients to a channel.
Introducing commands messages:
We added two commands that can help you send queries to the WebSocket server, we plan to add more command messages in the future as per the requirements of our customers.
View command messages section on this page to know more: https://www.piesocket.com/docs/3.0/overview
Users can now choose to opt-out of daily-usage-report emails and other email notifications from their PieSocket account settings.
We made the following non-breaking changes in the WebSocket v3 endpoint.