Relative Content

Tag Archive for javascriptphplaravelwebsocketlaravel-websockets

How to connect to an existing websocket in Laravel

Good morning everyone.
I have a project in Laravel in which I want to connect to a websocket of which I have the URI, the ClientToken and AccesToken. The problem I have is that I have tried several methods to use websockets in Laravel, but none of them works for me. I have the following code: