Crate web_transport

Source
Expand description

A generic WebTransport interface.

The underlying implementation switches based on the platform:

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§

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.