PieSocket 3rd Party Clients
PieSocket’s WebSocket API lets you seamlessly integrate its scalable Pub/Sub infrastructure into any platform using your preferred third-party WebSocket client.
For example, you can use a .NET WebSocket client to connect PieSocket with a .NET application, or a Python WebSocket client for a Python-based system.
With PieSocket’s WebSocket Server API, you can stay focused on building your core product while we handle the complexity of maintaining a scalable, real-time, bi-directional infrastructure.
WebSocket API
wss://CLUSTER_ID.piesocket.com/v3/ROOM_ID?api_key=API_KEY¬ify_self=1
You can generate your API Key from PieSocket cloud dashboard or from your self-hosted PieSocket dashboard.
This API offers many features, such as presence and authentication.
Refer to the WebSocket API documentation page to learn more about the WebSocket Server API.
Building your own client
If you're writing a client library from scratch, in a language we don't have an SDK for, or as part of your own tooling, the WebSocket API above is all you need, PieSocket doesn't require any special client-side library, just a standard WebSocket connection.
The exact message formats, connection parameters, presence/private channel behavior, and built-in commands are documented in full on the protocol reference pages:
- PieSocket Protocol V3, one channel per connection
- PieSocket Protocol V4, multiplexed connections that can subscribe to multiple channels over a single socket
- V3 → V4 migration guide, if you're deciding which version to build against
New clients should generally build against V4.
On this page
