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:28:14
Badlands Media
23 hours agoThe Narrative Ep. 39: The Sovereign Mind
89.8K31 -
2:17:35
TheSaltyCracker
7 hours agoThe Charlie Kirk Effect ReeEEStream 9-21-25
106K284 -
2:03:07
vivafrei
7 hours agoEp. 283: Charlie Kirk Memorial and other Stuff in the Law World
204K152 -
9:13:12
The Charlie Kirk Show
18 hours agoLIVE NOW: Building A Legacy, Remembering Charlie Kirk
2.15M900 -
1:55:20
The White House
10 hours agoPresident Trump Participates in the Memorial Service for Charlie Kirk
94.3K90 -
1:02:41
Sarah Westall
9 hours agoDomestic Terror Operation: Death Threats, Smear Campaigns, Gang Stalking w/ Journalist Sarah Fields
48.1K7 -
1:51:40
Nerdrotic
9 hours ago $14.74 earnedGobekli Tepe Discovery and "Reconstruction" | Forbidden Frontier #118
77.7K9 -
29:07
Tactical Advisor
9 hours agoATF Changes Ruling on SBR & Tacpack unboxing | Vault Room Live Stream 039
88.1K16 -
2:00
From Zero → Viral with AI
15 hours ago $3.95 earnedAre You Being Left Behind? Why AI Marketing is No Longer Optional
47.1K5 -
9:10
BlackDiamondGunsandGear
13 hours agoI Finally Got it! / Rough Country Build Ep.1
32.1K8