Real-Time Rust: Building WebSockets with Tokio Tungstenite

Поділитися
Вставка
  • Опубліковано 26 чер 2024
  • 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 6 місяців тому +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  6 місяців тому +2

      Yeah been a little weird that nobody has covered it, nice little library.

  • @yass3lon
    @yass3lon 6 місяців тому +3

    What a handsome engineer!

    • @chrishayuk
      @chrishayuk  6 місяців тому

      Awwww shucks, thank you, too kind

  • @philipp332
    @philipp332 4 місяці тому +4

    Great explanation but I think the transparent background is a bit confusing

    • @chrishayuk
      @chrishayuk  4 місяці тому

      yeah, i don't always get it right everytime in the edit, apologies

  • @prashlovessamosa
    @prashlovessamosa 6 місяців тому +1

    Thanks for sharing.

    • @chrishayuk
      @chrishayuk  6 місяців тому

      Thank you and merry Xmas

  • @PhillipGibb
    @PhillipGibb 25 днів тому

    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