Getting ready

All hyper recipes work with futures, so you should read all of Chapter 8, Working with Futures, before continuing.

At the time of writing, hyper has not yet upgraded to futures v0.2 (tracking issue: https://github.com/hyperium/hyper/issues/1448), so we going to use futures v0.1. This should be no problem in the future (no pun intended), as all relevant code is written in a way that should be compatible with 0.2 when it's released.

If some unexpected API change breaks the recipes, you will be able to find a fixed version of them at the book's GitHub repository (https://github.com/jnferner/rust-standard-library-cookbook/tree/master/chapter-nine/src/bin), which will always be updated in order to work with the newest versions of all libraries.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.131.10