O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Web Programming

In this chapter, we'll look at how to work with web technologies, starting from the bottom by looking at the Hyper HTTP library. We'll use a chat service's bot API to build a simple chat bot that answers to a request. Then, we get slightly more advanced and cover Rocket, a promising new web framework that uses advanced Rust features in an attempt to compete with the more dynamic language frameworks.

This chapter covers:

  • Introduction to web programming in Rust
  • Hyper for client - building a Telegram Bot
  • Hyper for server
  • Web frameworks - Rocket and others

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required