Real-Time Rust: Building WebSockets with Tokio Tungstenite

  Рет қаралды 5,131

Chris Hay

Chris Hay

Күн бұрын

in this tutorial, chris shows you how to get started with websockets using rust, tokio and tokio tungenstenite. we will create a new websocket client in rustlang using tokio and tokio-tungstenite, connect it to a public server, and then be able to send and receive messages to a websocket server.
we will also connect up the rust websocket client to an existing ai agent network that chris has been creating (developed in a compeltely different technology, bun). we will then convert the application to becoming an automatic time bot on the ai agent network.
at the end of this video, you'll have a deep understanding on how to create web socket clients using rust
github repos
----
github.com/chrishayuk/timebot
github.com/chrishayuk/rust-we...

Пікірлер: 9
@nguyenhuuanhtuan5360
@nguyenhuuanhtuan5360 5 ай бұрын
The lib has been around for quite a while, but finally one man made the first video of it. Thanks for sharing ❤ Take care
@chrishayuk
@chrishayuk 5 ай бұрын
Yeah been a little weird that nobody has covered it, nice little library.
@philipp332
@philipp332 3 ай бұрын
Great explanation but I think the transparent background is a bit confusing
@chrishayuk
@chrishayuk 3 ай бұрын
yeah, i don't always get it right everytime in the edit, apologies
@yass3lon
@yass3lon 5 ай бұрын
What a handsome engineer!
@chrishayuk
@chrishayuk 5 ай бұрын
Awwww shucks, thank you, too kind
@PhillipGibb
@PhillipGibb 10 сағат бұрын
I am only new to rust, so this is quiet helpful. Do you have any examples where you send custom headers? As you would do when you need to authenticate. My attempts have been halted by: Trait `IntoClientRequest` is not implemented for `Result
@prashlovessamosa
@prashlovessamosa 5 ай бұрын
Thanks for sharing.
@chrishayuk
@chrishayuk 5 ай бұрын
Thank you and merry Xmas
Async Rust Is A Bad Language | Prime Reacts
28:46
ThePrimeTime
Рет қаралды 84 М.
From Zero to Async Hero with Rust’s Tokio
1:25:28
Chris Hay
Рет қаралды 16 М.
CAN YOU HELP ME? (ROAD TO 100 MLN!) #shorts
00:26
PANDA BOI
Рет қаралды 36 МЛН
КАХА и Джин 2
00:36
К-Media
Рет қаралды 4 МЛН
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 119 МЛН
Bro be careful where you drop the ball  #learnfromkhaby  #comedy
00:19
Khaby. Lame
Рет қаралды 43 МЛН
Keynote | Rust in the Linux kernel - Alice Ryhl
50:44
RustLab Conference
Рет қаралды 6 М.
I never thought I'd use Socket.io ever again
14:02
Dreams of Code
Рет қаралды 84 М.
Why JavaScript Devs are Switching to Rust in 2024
10:35
warpdotdev
Рет қаралды 242 М.
Tonic makes gRPC in Rust stupidly simple
19:08
Dreams of Code
Рет қаралды 40 М.
Don't Use Websockets (Until You Try This…)
6:46
Code With Ryan
Рет қаралды 281 М.
How to scale WebSockets to millions of connections
14:01
Ably Realtime
Рет қаралды 19 М.
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 344 М.
Choose the Right Option
18:14
Logan Smith
Рет қаралды 64 М.
5 Better ways to code in Rust
9:51
Let's Get Rusty
Рет қаралды 102 М.
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 550 М.
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 8 МЛН
Теперь это его телефон
0:21
Хорошие Новости
Рет қаралды 1,7 МЛН
AMD больше не конкурент для Intel
0:57
ITMania - Сборка ПК
Рет қаралды 505 М.