Expand description
A generic WebTransport interface.
The underlying implementation switches based on the platform:
- native: web-transport-quinn
- web: web-transport-wasm
There is currently no generic way to establish a session. Use the above libraries directly, then use Session::from() to cast to this generic interface.
Re-exports§
pub use web_transport_quinn as quinn;
Structs§
- An incoming stream of bytes from the peer.
- An outgoing stream of bytes to the peer.
- A WebTransport Session, able to accept/create streams and send/recv datagrams.
Enums§
- A WebTransport error.