Closed DemetrioMoscow closed 5 months ago
You can get details from the above images, and you should close this PR @DemetrioMoscow.
Yes, $message is a JSON. But the data inside the message should be a string with encoded JSON like:
{"event":"pusher_internal:member_added","data":"{\"user_id\":\"1\",\"user_info\":1}","channel":"presence-channel"}
https://pusher.com/docs/channels/library_auth_reference/pusher-websockets-protocol/#example-json-3
No tests.
The Pusher protocol expects an encoded JSON string instead of an array