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
-
1:24:56
Glenn Greenwald
4 hours agoTrump Declares Cities as the Enemies Within; Reagan Appointed Judge Slams Trump Over Speech Crackdowns; American ER Doctor on Gaza Atrocities | SYSTEM UPDATE #524
73.7K64 -
LIVE
The Jimmy Dore Show
3 hours agoWhat’s At Stake in the Government Shutdown! Candace Owens CALLS OUT TPUSA Leaders! w/John Fugelsang
7,144 watching -
LIVE
SpartakusLIVE
3 hours agoI'M BACK || Quads w/ The Boys
185 watching -
LIVE
VapinGamers
1 hour agoJump Space - We All Scream in Space - Early Access - !rumbot !music
19 watching -
LIVE
Joker Effect
33 minutes ago(Kick) Streamers Have Ruined The Streaming Landscape and Here is How! Reviewing Phase Partners...
480 watching -
LIVE
The Blood Lust Gaming
3 hours agoClair Obscur: Expedition 33 - LVL 1 challenge run pt.3
37 watching -
Nikko Ortiz
2 hours agoPTSD Is Fun Sometimes | Rumble LIVE
1.53K -
1:02:40
BonginoReport
3 hours agoA Florida Man Attempts a Jussie Smollett Hoax - Nightly Scroll with Hayley (Ep. 146)
102K55 -
LIVE
XxXAztecwarrior
2 hours agoNew Season/ New missions/Delta Force
28 watching -
1:17:15
Playback Request Live
2 hours agoPRL EP 14 - EMO NIGHT 🖤
7472