I am creating a chat in Laravel Websocket i followed a youtube tutorial and the message goes to the other user they can talk with each other but i need to reload the page to get the message that was sent,its not real time.At the console before i send a message it says this error: Failed to load resource: the
Tag: websocket
WebSockets – send json data via php
I’m trying to send a fire-and-forget request from PHP to my websocket aws api gateway. I’ve set up an action called “sendmessage”. This is the code I’m using: However, nothing happens. If I use wscat, like: it works just fine. What am I doing wrong in my php code? Note: I need the socket connection to be persistent (the way
Illuminate Broadcasting BroadcastException No message
I’m using Laravel websocket written by beyoundcode. After couple of days, I’ve connected to myDomain.com/laravel-websockets and first step solved. But now, when I trigger an event, laravel has error at this point: this is my stacktrace screenshot: I read these questions and issues but nothing worked for me: Laravel Pusher exception: “IlluminateBroadcastingBroadcastException” Exception: Illuminate Broadcasting BroadcastException No message
Digest Auth Socket Server to Server
How can I realize digest authentication and subscription with sockets in a Server to Server application with PHP. What options do I have?
Running javascript inside rest api
I’m working on asterisk. I managed to call an external api using dialplan. Now I want to run a javascript inside that api function, because I need to notify a browser that someone is calling. What I’m …
Reconnection of Client when server reboots in WebSocket
I am using web socket using PHP5 and the Chrome browser as client. I have taken the code from the site http://code.google.com/p/phpwebsocket/. I run the server, and the client is also connected. I …