{"id":13484820,"url":"https://github.com/stepancheg/rust-http2","last_synced_at":"2025-04-12T23:39:07.434Z","repository":{"id":56676577,"uuid":"91037952","full_name":"stepancheg/rust-http2","owner":"stepancheg","description":"HTTP/2 implementation in Rust/tokio","archived":false,"fork":false,"pushed_at":"2021-10-24T23:08:40.000Z","size":2620,"stargazers_count":208,"open_issues_count":15,"forks_count":25,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-12T23:39:04.063Z","etag":null,"topics":["http2","tokio-rs"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stepancheg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-12T01:23:45.000Z","updated_at":"2025-01-08T07:48:24.000Z","dependencies_parsed_at":"2022-08-15T23:10:14.776Z","dependency_job_id":null,"html_url":"https://github.com/stepancheg/rust-http2","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepancheg%2Frust-http2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepancheg%2Frust-http2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepancheg%2Frust-http2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepancheg%2Frust-http2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stepancheg","download_url":"https://codeload.github.com/stepancheg/rust-http2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647255,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http2","tokio-rs"],"created_at":"2024-07-31T17:01:34.835Z","updated_at":"2025-04-12T23:39:07.413Z","avatar_url":"https://github.com/stepancheg.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# rust-http2\n\n\u003c!-- https://travis-ci.org/stepancheg/rust-http2.png --\u003e\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/stepancheg/rust-http2/Jobs)](https://github.com/stepancheg/rust-http2/actions?query=workflow%3AJobs)\n[![License](https://img.shields.io/crates/l/httpbis.svg)](https://github.com/stepancheg/rust-http2/blob/master/LICENSE.txt)\n[![crates.io](https://img.shields.io/crates/v/httpbis.svg)](https://crates.io/crates/httpbis) \n\nHTTP/2 client and server implementation in Rust based on tokio.\n\nCurrently it is used as base for implementation of [grpc-rust](https://github.com/stepancheg/grpc-rust).\n\n## Example server\n\nCheckout the source code and execute command:\n\n```\ncargo run --example server\n```\n\nServer will be available on https://localhost:8443/.\nYou need any modern browser with HTTP/2 support to open the page (e. g. Firefox, Safari, Chrome).\n\nServer only works over HTTP/2, if browser doesn't send HTTP/2 preface, server closes the connection.\n\n## Example client\n\n```\ncargo run --example client https://google.com/\n```\n\nResult is:\n\n```\n:status: 302\ncache-control: private\ncontent-type: text/html; charset=UTF-8\nreferrer-policy: no-referrer\nlocation: https://www.google.ru/?gfe_rd=cr\u0026ei=mZQ4WZfaGISDZOzOktgO\ncontent-length: 257\ndate: Thu, 08 Jun 2017 00:04:41 GMT\nalt-svc: quic=\":443\"; ma=2592000; v=\"38,37,36,35\"\n\n\u003cHTML\u003e\u003cHEAD\u003e\u003cmeta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\"\u003e\n\u003cTITLE\u003e302 Moved\u003c/TITLE\u003e\u003c/HEAD\u003e\u003cBODY\u003e\n\u003cH1\u003e302 Moved\u003c/H1\u003e\nThe document has moved\n\u003cA HREF=\"https://www.google.ru/?gfe_rd=cr\u0026amp;ei=mZQ4WZfaGISDZOzOktgO\"\u003ehere\u003c/A\u003e.\n\u003c/BODY\u003e\u003c/HTML\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepancheg%2Frust-http2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstepancheg%2Frust-http2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepancheg%2Frust-http2/lists"}