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
-
28:53
Afshin Rattansi's Going Underground
3 days agoTrump Has Surrounded Himself With Neocons AGAIN, War After War is Coming! (James Carden)
4.32K9 -
1:54:50
Badlands Media
8 hours agoDevolution Power Hour Ep. 398: Economic Warfare, Trump’s Strategy, and the Coming Reckoning
56.5K27 -
2:08:19
Inverted World Live
7 hours agoInvasion of the Lectern Guy | Ep. 124
38.6K4 -
2:54:29
TimcastIRL
6 hours agoDemocrats Declare STATE OF EMERGENCY Over ICE Raids, DHS ATTACKED, CIVIL WAR | Timcast IRL
232K135 -
2:37:25
TheSaltyCracker
6 hours agoAlex Jones Gets Screwed ReeEEStream 10-15-25
93.4K246 -
58:25
Man in America
11 hours agoPaper Silver IMPLODES: Experts Predict HUNDREDS PER OUNCE is Coming
35.8K19 -
LIVE
Drew Hernandez
13 hours agoSENIOR ISRAELI OFFICIALS CLAIM GAZA WAR NOT OVER & ILLEGAL ALIENS COORDINATE ANOTHER ATTACK ON ICE?
645 watching -
5:34:51
SpartakusLIVE
6 hours agoLIVE from VACATION || #1 Greek God of a Streamer
35K3 -
4:01:06
Alex Zedra
5 hours agoLIVE! New Devour Map
34.9K1 -
2:20:45
Geeks + Gamers
6 hours agoGeeks+Gamers Play- FALL GUYS
30.2K1