Crate xwt_web

Crate xwt_web 

Source
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§

CertificateHash
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.
RecvStream
Recv the data from a WebTransport stream.
SendStream
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.
WebTransportOptions
Options for configuring the transport.

Enums§

CongestionControl
The application’s preference that the congestion control algorithm used when sending data over this connection be tuned for either throughput or low-latency.
HashAlgorithm
Algorithm used to verify the hash.
StreamReadError
An error that can occur while reading stream data.
StreamWriteError
An error that can occur during the stream writes.