Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HTTP client in Rust

There are a number of Crates that can help us build HTTP requests. The most popular seems to be reqwest. We are going to take a look at it.

Herbert Wolverson commented that reqwest spawns a tokio thread even when working in blocking mode which is quite expensieve and hes suggested ureq. We'll take a look at that as well.

We'll use httpbin for checking examples.