1 Section intro (16.44 MB) 10 WebSockets Introduction (18.95 MB) 11 WebSocket history and specifications (71.59 MB) 12 RFCs - did you know (39.4 MB) 15 WebSockets - use cases (12.98 MB) 16 WebSockets are a communications protocol (45.41 MB) 18 Examining the HTTP protocol using (1) Dev Console and (2) CURL (38.5 MB) 21 Introduction to WebSockets, TCP and IP (127.1 MB) 22 MTU and Maximum Segment Size (76.55 MB) 24 Summary of TCP and IP (27.52 MB) 3 What is the internet (84.1 MB) 4 What is the HTTP protocol (70.52 MB) 6 Using Wireshark to prove TCP is persistent (76.64 MB) 9 AJAX and Comet (37.83 MB) 1 TCP handshake introduction (74.99 MB) 12 Example creating a custom port number to establish a connection (17.16 MB) 13 Layer 2 Transport Layer Segments and Headers (72.04 MB) 14 Layer 3 Internet Layer (101.02 MB) 18 Layer 4 Network Layer & MAC addresses (129.8 MB) 21 Using Tracert to analyze hops, and Network layer summary (113 MB) 23 Summary - WebSockets and the Network Layers (75.03 MB) 24 Sockets vs WebSockets (74.39 MB) 4 Examining the TCP handshake in Wireshark (66.53 MB) 5 The TCPIP model (4 layer model) (21.88 MB) 7 Layer 1 Application Layer (82.79 MB) 9 Layer 2 Transport Layer Ports (79.77 MB) 1 Section Intro (41.62 MB) 12 Sec-WebSocket- Headers Introduction (115.49 MB) 14 Sec-WebSocket-Key Header (50.1 MB) 16 Manually calculating Sec-WebSocket-Key (54.63 MB) 17 Final words on Sec-WebSocket-Key (25.56 MB) 19 Base64 Encoding - intro (113.61 MB) 2 Opening a WebSocket connection (52.45 MB) 20 Base64 Encoding - Summary and Example (143.23 MB) 22 Fun Example How to encode the rocket emoji (66.29 MB) 23 Sec-WebSocket-Accept (72.73 MB) 26 Sec-WebSocket-Protocol (98.04 MB) 27 Sec-WebSocket-Version & Sec-WebSocket-Extensions (40.82 MB) 29 Section Summary & Outro (17.51 MB) 3 The HTTP handshake process (25.94 MB) 5 The WebSocket API in the Dev Console and the TCP handshake (134.18 MB) 6 WebSocket is an event driven API (16.44 MB) 7 End-to-end vs hop-by-hop HTTP headers (48.87 MB) 9 The Upgrade and Connection headers explained (103.08 MB) 1 Section Intro (23.18 MB) 10 WebSocket Server Code - Part 3 - Spinning up our WebSocket server (207.03 MB) 12 Project The WebSocket API - Establishing a WebSocket connection (102.34 MB) 14 WebSockets are HTTP compatible (90.83 MB) 15 Example a server can run multiple socket connections simultaneously (75.79 MB) 17 WebSocket API - binaryType and bufferedAmount (61.2 MB) 18 WebSocket API - extensions and protocols (25.73 MB) 19 Introduction to the readyState property (29.62 MB) 2 The client WebSocket object - opening a WebSocket connection (56.8 MB) 21 Project code - disable button when clicked, and add dynamic status update (144.86 MB) 22 Project listen for the OPEN EVENT (91.48 MB) 24 Using the onopen event to change text dynamically (51.36 MB) 25 WebSocket Messages and Data - Introduction (81.81 MB) 26 Project listening for the MESSAGE EVENT (61.71 MB) 27 Styling our table element (29.31 MB) 28 Project listening for the CLOSE EVENT (31.95 MB) 3 Project introduction and overview (12.43 MB) ensure d (554 B) is d (71 B) coerce d (101 B) ensure d (440 B) ensure d (728 B) is d (114 B) coerce d (91 B) ensure d (420 B) ensure d (524 B) is d (83 B) ensure d (404 B) is d (69 B) ensure d (714 B) ensure d (412 B) is d (71 B) coerce d (91 B) ensure d (420 B) ensure d (476 B) is d (77 B) coerce d (93 B) ensure d (424 B) ensure d (620 B) is d (135 B) ensure d (438 B) is d (67 B) coerce d (105 B) ensure d (448 B) coerce d (91 B) ensure d (420 B) ensure d (420 B) is d (73 B) ensure d (496 B) is d (87 B) ensure d (635 B) is d (83 B) ensure d (449 B) is d (75 B) is d (79 B) ensure d (420 B) is d (73 B) coerce d (101 B) ensure d (440 B) ensure d (417 B) is d (67 B) coerce d (91 B) ensure d (420 B) ensure d (596 B) is d (77 B) coerce d (97 B) ensure d (348 B) ensure d (145 B) is d (71 B) 30 Project listening for the ERROR EVENT (24.05 MB) 32 Closure codes and the wasClean property (32.32 MB) 34 Examining all 4 values of the readyState property (89.91 MB) 35 WebSocket API Methods - send() and close() (32.19 MB) 37 The CloseEvent and MessageEvent interface (15.88 MB) ensure d (554 B) is d (71 B) coerce d (101 B) ensure d (440 B) ensure d (728 B) is d (114 B) coerce d (91 B) ensure d (420 B) ensure d (524 B) is d (83 B) ensure d (404 B) is d (69 B) ensure d (714 B) ensure d (412 B) is d (71 B) coerce d (91 B) ensure d (420 B) ensure d (476 B) is d (77 B) coerce d (93 B) ensure d (424 B) ensure d (620 B) is d (135 B) ensure d (438 B) is d (67 B) coerce d (105 B) ensure d (448 B) coerce d (91 B) ensure d (420 B) ensure d (420 B) is d (73 B) ensure d (496 B) is d (87 B) ensure d (635 B) is d (83 B) ensure d (449 B) is d (75 B) is d (79 B) ensure d (420 B) is d (73 B) coerce d (101 B) ensure d (440 B) ensure d (417 B) is d (67 B) coerce d (91 B) ensure d (420 B) ensure d (596 B) is d (77 B) coerce d (97 B) ensure d (348 B) ensure d (145 B) is d (71 B) 40 Project using the send() method to send data to the server (143.69 MB) 42 Closing a connection (112.88 MB) 44 Project using the close() method to close the WebSocket connection (84.12 MB) 45 The reason argument to the close() method (25.3 MB) 46 Examining the closing handshake at the TCP & WebSocket level (36.77 MB) 48 Challenge I want you to improve project code (36.06 MB) 49 Solution amending our project code to handle different closure types (78.23 MB) 5 WebSocket Demo - building the HTML (37.93 MB) 50 Using the switch expression to improve our code (33.59 MB) 51 Fun lecture - examining Live Server WebSocket code (100.77 MB) 6 WebSocket Demo - building the CSS (69.38 MB) 8 WebSocket Server Code - Part 1 - Creating the HTTP server (173.36 MB) 9 WebSocket Server Code - Part 2 - Importing the websocket module using NPM (107.2 MB) 1 Section intro (18.79 MB) 11 HTTP2 Binary Frames - Intro to HPACK (78.56 MB) 12 HTTP2 Binary Frames - What a FRAME looks like (42.27 MB) 14 WebSocket frames - the 6 types (24.04 MB) 15 Examining a WebSocket closure frame - opcode 0x8 (68.56 MB) 16 Examining a WebSocket ping frame - opcode 0x9 (72.01 MB) 18 WebSocket frame header size - min and max (53.52 MB) 19 WebSocket data fragmentation (28.41 MB) 2 How HTTP1 1 handles data (108.84 MB) 23 What are WebSocket Reserved Bits used for (13.76 MB) 24 Control and non-control frames (21.37 MB) 26 Masking Bit (25.8 MB) 27 Masking - introduction (145.72 MB) 29 Example of cache poisoning (115.7 MB) 31 Payload length bits (26.98 MB) 34 Maximum size of a WebSocket frame payload (20.63 MB) 38 HTTP vs WebSockets (75.03 MB) 41 Outro (16.43 MB) 5 How HTTP2 handles data (38.8 MB) 7 Capturing SSLTLS keys and configuring Wireshark to capture HTTP2 traffic (73.89 MB) 8 HTTP2 Binary Frames - Intro to how the HTTP2 protocol is negotiated (53.28 MB) 1 Misconceptions about concurrent WebSocket connections (54.65 MB) 12 WebSockets over HTTP2 (81.95 MB) 15 Does HTTP2 replace WebSockets (48.41 MB) 17 WebSockets over HTTP3 (12.12 MB) 21 CORS and WebSockets (20.53 MB) 22 Scaling WebSockets (34.76 MB) 4 Short Polling - an alternative to WebSockets (38.94 MB) 6 Long Polling - an alternative to WebSockets (34.33 MB) 8 Server-Sent Events - an alternative to WebSockets (25.81 MB) 1 Outro (22.73 MB)