Module hyper::client

source ·
Available on crate feature client only.
Expand description

HTTP Client

hyper provides HTTP over a single connection. See the conn module.


  • client - A simple CLI http client that requests the url passed in parameters and outputs the response content and details to the stdout, reading content chunk-by-chunk.

  • client_json - A simple program that GETs some json, reads the body asynchronously, parses it with serde and outputs the result.


  • connhttp1 or http2
    Lower-level client connection API.