/h2-get-demo

A fully asynchronous HTTP/2 GET query in Rust

Primary LanguageRust

h2-get-demo

A fully asynchronous HTTP/2 GET query in Rust

Features

  • tokio and futures for asynchrony
  • trust-dns for DNS resolution
  • tokio-openssl for TLS layer
  • h2 for HTTP/2 protocol implementation

Usage

Read the code in src/main.rs.