API Platform Conference 2022 - Pauline Vos - PHP WebSockets

preview_player
Показать описание
Async PHP is here to stay!

As the web modernizes, so does PHP. We can now build servers that can send and receive messages to users in real-time. And what's more, it's super fun and easier than ever.

Let me tell you all about WebSockets and show you how to build your own rafle machine that updates users in real-time, from server to client. In pure, modern PHP and React.

_________
Music credits: Vanilla by Time Warp
Рекомендации по теме
Комментарии
Автор

Dear My friend, thank you for your great video, actually I have a question,
I am trying to send a buy or sell request in a broker website by web socket, Normally, I copy the request fetch and run it on console, is it possible to use web socket to send a request and receive the response? How could we change fetch request to web socket?
If you could help me, I ‘ll be really appreciate.

rezanami