GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stepancheg/rust-http2: HTTP/2 implementation in Rust/tokio

This repository was archived by the owner on Mar 25, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

1,133 Commits
1,133 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ci-gen
ci-gen
 
 
ci
ci
 
 
h2spec-test
h2spec-test
 
 
httpbis-test
httpbis-test
 
 
httpbis
httpbis
 
 
interop
interop
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.rustfmt.toml
.rustfmt.toml
 
 
.travis.yml-disabled
.travis.yml-disabled
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
build.rs
build.rs
 
 
update-tls-api-to-local.sh
update-tls-api-to-local.sh
 
 

Repository files navigation

rust-http2

GitHub Workflow Status License crates.io

HTTP/2 client and server implementation in Rust based on tokio.

Currently it is used as base for implementation of grpc-rust.

Example server

Checkout the source code and execute command:

cargo run --example server

Server will be available on https://localhost:8443/. You need any modern browser with HTTP/2 support to open the page (e. g. Firefox, Safari, Chrome).

Server only works over HTTP/2, if browser doesn't send HTTP/2 preface, server closes the connection.

Example client

cargo run --example client https://google.com/

Result is:

:status: 302
cache-control: private
content-type: text/html; charset=UTF-8
referrer-policy: no-referrer
location: https://www.google.ru/?gfe_rd=cr&ei=mZQ4WZfaGISDZOzOktgO
content-length: 257
date: Thu, 08 Jun 2017 00:04:41 GMT
alt-svc: quic=":443"; ma=2592000; v="38,37,36,35"

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.ru/?gfe_rd=cr&amp;ei=mZQ4WZfaGISDZOzOktgO">here</A>.
</BODY></HTML>

About

HTTP/2 implementation in Rust/tokio

Topics

http2tokio-rs

Resources

Readme
MIT license
Activity

Stars

212 stars

Watchers

9 watching

Forks

26 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.