Jun 26, 2021
0
Level 2
Laravel or PHP WebSocket client
Here is the scenario:
Back-end Laravel application establishes a long-running connection (as a client) to an external WebSocket server.
It also receives data from users via HTTP GET request, which is then worked on and passed to the external server via the already established Websocket connection.
Also, when there is no activity within 30 secs, the app sends a ping to keep the websocket connection alive.
How do I go about this?
Please or to participate in this conversation.