| Crates.io | aeronet_wt_native |
| lib.rs | aeronet_wt_native |
| version | 0.4.0 |
| created_at | 2023-10-07 20:35:45.757864+00 |
| updated_at | 2023-12-14 21:55:44.791459+00 |
| description | Native WebTransport transport implementation for aeronet |
| homepage | |
| repository | https://github.com/aecsocket/aeronet |
| max_upload_size | |
| id | 996582 |
| size | 189,773 |
aeronet_wt_nativeA WebTransport transport implementation of aeronet, which uses the QUIC protocol under the hood to provide reliable streams and unreliable datagrams.
This transport can be used in a native app to provide a client and server transport using
wtransport as the WebTransport protocol implementation.
Using this requires the tokio async runtime.
Before a message (of a user-specified type) can be transported along a WebTransport connection, it
must first be converted to/from its serialized byte form. This is achieved using
[aeronet::TryIntoBytes] and [aeronet::TryFromBytes]. The transport will not process the bytes
any further than converting the bytes using these functions - the implementation will not do any
higher-level functions such as message batching.