Closed rockyftn closed 6 months ago
I am not certain I understand what issue you are reporting here - could you elaborate? Is the issue that you expect the client not to send a ping event? The doc you linked to shows that this is expected:
This means that Pusher Channels will respond to a WebSocket protocol ping message with a pong message, and also it will respond to a pusher:ping event with a pusher:pong event (both have empty data).
We found an issue on our server side (we use Soketi lib for Laravel PHP), that library not responding to a WebSocket protocol ping message. That library expects to send a ping message as {event: "ping", data: []} but this Pusher library doesn't support that ping format.
I read this documentation https://pusher.com/docs/channels/library_auth_reference/pusher-websockets-protocol/#ping-and-pong-messages and in the section I see this text:
In PusherSwift class PROTOCOL is set to 7, but in PusherConnection method sendPing WebSocket PING package.
Can I get some help from you? Thanks