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
-
54:14
Sarah Westall
5 hours agoCIA Coups, Coverups and Torture: CIA Whistleblower & Former Intelligence Officer John KiriaKau
73.8K53 -
2:12:04
Nerdrotic
8 hours ago $14.45 earnedPyramid Structures, The Younger Dryas, and Academia with Marc Young | Forbidden Frontier #095
64.8K18 -
2:10:53
vivafrei
13 hours agoEp. 256: Canadian Election! Illegals to Venezuela! Biden Attorney Found DEAD & MORE! Viva & Barnes
147K169 -
1:04:32
Man in America
14 hours agoHOLD ON!! Sunglasses Can Give You SKIN CANCER?! Why's No One Talking About This?
40.3K15 -
15:42
DeVory Darkins
10 hours ago $34.58 earnedBernie SNAPS when asked about AOC replacing Schumer
83.6K246 -
19:37
Stephen Gardner
10 hours ago🔥"VOTERS SHOULD BE PISSED" Trump's Agenda in Danger BECAUSE of lazy Republicans!
94.2K98 -
7:59:56
SpartakusLIVE
9 hours agoGames w/ Fifakill & Lien || The Saturday SPARTOONS you've always desired
77.9K11 -
5:40:08
RamrodJenkins
11 hours agoSunday Funday! Doing more quests on Avowed!
90.2K4 -
5:27:02
Pepkilla
13 hours agoWe playing what we wanna play today :)
78.2K7 -
3:08:22
GamerGril
10 hours ago🔥Hell Hath No Fury Like A Woman Scorned🔥
82.4K2