Crate web_transport_wasm

Crate web_transport_wasm 

Source
Expand description

WebTransport wrapper for WebAssembly.

This crate wraps the WebTransport API and provides ergonomic Rust bindings. Some liberties have been taken to make the API more Rust-like and closer to native.

Structs§

Client
Build a client with the given URL and options.
ClientBuilder
See WebTransportOptions.
RecvStream
A stream of bytes received from the remote peer.
SendStream
A stream of bytes sent to the remote peer.
Session
A session represents a connection between a client and a server.

Enums§

CongestionControl
The WebTransportCongestionControl enum.
Error
A WebTransport error classified based on the source.