php - How can I find the information sent from the laravel websocket web server?

Solution:

do you use broadcastWith function in your event?

in this function, you can define the data that you want to broadcast. besides, make sure that your WebSocket is successfully connected.

Answer

Solution:

Thanks everyone i found solution used wrote the answer maybe help someone Just run the queue and If you do not need queues only in the env file Change the value of QUEUE_CONNECTION to sync And also use the ShouldBroadcastNow value in the event class

Source