Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Tokio, Warp, and Websockets for Building Servers - October 2021

Rust via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore building a server with Tokio, Warp, and Websockets in this 41-minute conference talk from Rust Linz, October 2021. Dive into Tokio's tools and frameworks, learn about channels and psc, and examine a practical websocket example. Discover how to implement chat filters, handle new user IDs with atomic use size, and set up websocket connections. Gain insights on splitting channels, forwarding websockets, and working with annotations. Understand synchronous operations, senders, broadcasts, and various message types. Conclude with a look at Cargo Run, Index HTML, and creating a "Hello World" application. Perfect for developers seeking to enhance their Rust server-building skills.

Syllabus

Intro
Tokio
Tokio tools
Tokio frameworks
Channels
psc
Websocket example
Websocket
Data Structure
Hashmap
Chat Filters
Warp Websocket
New User ID
Atomic Use Size
Fetch Ad
Websocket Setup
Splitting
Channel
Forward
Websockets
Annotations
New User
synchronous operation
sender
broadcast
exec stream
broadcast method
type message
string message
broadcast message
disconnect message
disconnect
sequential
Strengtheners
Cargo Run
Index HTML
Mainjs
Hello World
Say Hello
Conclusion

Taught by

Rust

Reviews

Start your review of Tokio, Warp, and Websockets for Building Servers - October 2021

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.