Premium Only Content

57 minutes of OpenSwoole - WebSocket - Part 2
57 minutes of OpenSwoole - WebSocket - Part 2
At this video we will (on our sample app):
- Build WebSocket Server Command
- Serve HTTP and WebSocket with one Server
- Identify connected users
- Implement real-time communication
App changes:
- added websocket server command
details:
- with static files enabled
- with user identification
- token structure adjusted to count/limit uses
- ui changes
Previous part: https://youtu.be/Vgw5Ibqc15k
Source: https://github.com/Jacked-PHP/sample-swoole/tree/76702d9e7642ec8b849fd82381a10f3067f5a9c3
--------------------------
Topics:
--------------------------
00:00 Initial Description
01:27 WebSocket Command
09:10 Dynamic WebSocket Settings
13:48 User Identification
26:58 Single use Token
30:54 Serving static files
34:34 Token structure adjustment and user identification complementation
44:49 Building the User Interface
52:57 Running the server
53:45 Adding a second user for further tests
--------------------------
References
--------------------------
Video where we covered Plates template engine: https://youtu.be/Xdz_-u6cGTU
Video where we covered JWT tokens: https://youtu.be/O8EVJrKtbGg
--------------------------
Music
--------------------------
https://uppbeat.io/t/ben-johnson/cant-stop-chasing-you
License code: YXVXZ1KCWTAGZE1S
https://uppbeat.io/t/matrika/smack-that
License code: QYBHFMBRLTDGRLRX
https://uppbeat.io/t/hartzmann/bamboo
License code: GR0BHUSUJXU5ECBU
-
3:55
The Official Steve Harvey
7 hours agoTop 5 Motivation Moments with Steve Harvey | Part 1
731 -
18:37
Lacey Mae ASMR
7 hours agoASMR Plucking Your Negative Energy and Sending Positive Affirmations!
131 -
1:11:12
Savanah Hernandez
4 hours agoIs Trump Changing His Tune on Mass Deportations & Americans Say NO WAR with Iran
92.8K145 -
2:42:53
TimcastIRL
5 hours agoDemocrat Senator FORCIBLY REMOVED From DHS Presser, MAGA Says IT WAS STAGED | Timcast IRL
193K83 -
47:23
Man in America
10 hours agoThe Billionaires Are Hoarding Cash—THEY KNOW WHAT'S COMING w/ Collin Plume
27.7K4 -
3:44:32
Barry Cunningham
6 hours agoDID YOU GET YOUR TICKETS FOR THE DEMOCRAT CLOWN SHOW!!
106K62 -
LIVE
SpartakusLIVE
7 hours agoAre they really going to end WZ?? || Duos w/ @GloryJean
364 watching -
7:01:19
MyronGainesX
20 hours ago $25.50 earnedIsrael Strikes Iran! WAR is here! ICE Riots, Diddy Trial And More!
129K39 -
DVR
Alex Zedra
4 hours agoLIVE! Siege X
15.6K3 -
4:58:19
GloryJean
6 hours ago#1 Gamer Dad Dominates on MnK 🖱️
35.5K1