Talking HTTP in the Internet

The single most important application-layer protocol that has changed our lives heavily has to be the HTTP. It forms the backbone of the World Wide Web (WWW). In this chapter, we will look at how Rust makes writing fast HTTP servers easier. We will also look at writing clients to communicate with these servers over a network.

We will cover the following topics in this chapter:

  • A short introduction to Hyper, one of the most widely used crates for writing HTTP servers
  • We will study Rocket, a new crate that has become widely popular owing to its simpler interface
  • We will move on to reqwest, an HTTP client library

Get Network Programming with Rust now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.