Crates.io | wtransport-proto_lightyear_patch |
lib.rs | wtransport-proto_lightyear_patch |
version | 0.1.8 |
source | src |
created_at | 2023-12-03 07:31:00.440632 |
updated_at | 2023-12-03 07:31:00.440632 |
description | Implementation of the WebTransport (over HTTP3) protocol |
homepage | |
repository | https://github.com/BiagioFesta/wtransport |
max_upload_size | |
id | 1056759 |
size | 167,732 |
WebTransport protocol, pure-rust, async-friendly.
WebTransport is a new protocol being developed to enable low-latency, bidirectional communication between clients and servers over the web. It aims to address the limitations of existing protocols like HTTP and WebSocket by offering a more efficient and flexible transport layer.
Please be aware that WebTransport is still a draft and not yet standardized. The WTransport library, while functional, is not considered completely production-ready. It should be used with caution and may undergo changes as the WebTransport specification evolves.
Server | Client |
---|---|
|
|
git clone https://github.com/BiagioFesta/wtransport.git
cd wtransport/
Full
ExampleThe examples/full.rs
is a minimal but complete server example that demonstrates the usage of WebTransport.
You can run this example using Cargo, Rust's package manager, with the following command:
cargo run --example full
This example initiates an echo WebTransport server that can receive messages. It also includes an integrated HTTP server and launches Google Chrome with the necessary options to establish connections using self-signed TLS certificates.
WTransport has bindings for the following languages: