Skip to Content
The Rust Programming Language (Covers Rust 2018)
book

The Rust Programming Language (Covers Rust 2018)

by Carol Nichols
July 2019
Intermediate to advanced
560 pages
14h 12m
English
No Starch Press
Content preview from The Rust Programming Language (Covers Rust 2018)

20FINAL PROJECT: BUILDING A MULTITHREADED WEB SERVER

Image

It’s been a long journey, but we’ve reached the end of the book. In this chapter, we’ll build one more project together to demonstrate some of the concepts we covered in the final chapters, as well as recap some earlier lessons.

For our final project, we’ll make a web server that says “Hello!” and looks like Figure 20-1 in a web browser.

image

Figure 20-1: Our final shared project

Here is the plan to build the web server:

  1. Learn a bit about TCP and HTTP.
  2. Listen for TCP connections on a socket.
  3. Parse ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Rust Programming Language

The Rust Programming Language

Steve Klabnik, Carol Nichols
Hands-on Rust

Hands-on Rust

Herbert Wolverson
Rust Web Programming

Rust Web Programming

Maxwell Flitton

Publisher Resources

ISBN: 9781098122539