Expand description
The web_wt_sys
-powered implementation of xwt_core
.
Re-exports§
pub use web_sys;
pub use web_wt_sys;
pub use xwt_core as core;
Structs§
- Certificate
Hash - Hash of a server certificate which the transport can connect to.
- Connecting
- Connecting represents the transient connection state when
the
web_wt_sys::WebTransport
has been created but is not ready yet. - Datagrams
- Datagrams hold the portions of the session that are responsible for working with the datagrams.
- Endpoint
- An endpoint for the xwt.
- Error
- A generic error encapsulating a JS-land value.
- Recv
Stream - Recv the data from a WebTransport stream.
- Send
Stream - Send the data into a WebTransport stream.
- Session
- Session holds the
web_wt_sys::WebTransport
and is responsible for providing access to the Web API of WebTransport in a way that is portable. It also holds handles to the datagram reader and writer, as well as the datagram reader state. - WebTransport
Options - Options for configuring the transport.
Enums§
- Congestion
Control - The application’s preference that the congestion control algorithm used when sending data over this connection be tuned for either throughput or low-latency.
- Hash
Algorithm - Algorithm used to verify the hash.
- Stream
Read Error - An error that can occur while reading stream data.
- Stream
Write Error - An error that can occur during the stream writes.