Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
Jesus Christ , how does one connect to a third party websocket stream in Laravel. It seems to be so damn complicated with the involvement of Pusher, Broadcast, Echo and a bunch of other useless packages. On Top of that there are no tutorials on this, everyone is busy building a chat app and even then i tried following along, it doesn't work. Does anyone know how to do this?
In python, it is as simple as this
import websocket
SOCKET = "wss://stream.binance.com/ws/..."
ws = websocket.WebSocketApp(
SOCKET, on_open=on_open, on_close=on_close, on_message=on_message
) //you get the damn data
In Laravel, it so bloody complicated.
question
laravel
websockets