Chapter 3: Handling HTTP Requests
Solving problems with well-structured code can only get us so far. To enable our solution to reach multiple people quickly without the need to install Rust, we are going to need to serve our to-do application on a web server. Fortunately, Rust has a range of web frameworks. In this chapter, we will build a basic web app that handles views using the Actix Web framework in a scalable way.
In order to achieve this, we will be building server views in a modular fashion. We will also cover the basics of asynchronous programming in order to briefly look under the hood of how the Actix Web framework works.
In this chapter, we will cover the following topics:
- Building a basic server using the Actix Web framework
Get Rust Web Programming 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.