Pusher SDK
Pusher clients are fully compatible with the WebSocket protocol implemented by soketi, which means you can easily take advantage of amazing features like private channels, presence channels, and client events. You simply need to point the Pusher compatible client to the soketi server address:
Make sure that enabledTransports
is set to ['ws', 'wss']
. If not set, in case of connection failure, the client will try other transports such as XHR polling, which soketi doesn't support.
SSL Configuration
When running the server in SSL mode, you may consider setting the forceTLS
client option to true
. When this option is set to true
, the client will connect to the wss
protocol instead of ws
:
Encrypted Private Channels
Last updated