Getting Started

hyper is an HTTP library for the Rust language.

NOTE: These guides are for the older 0.14.x version of hyper. Did you want the v1 guides?

You can start using it by first adding it to your Cargo.toml:

hyper = "0.14"
  • If building a web server, continue with the Server guide.
  • If trying to talk to a server, continue with the Client guide.

You could also look at the generated API documentaton.