Crates.io | aeronet_wt_core |
lib.rs | aeronet_wt_core |
version | 0.3.0 |
source | src |
created_at | 2023-10-23 20:43:51.339714 |
updated_at | 2023-11-05 18:16:39.527996 |
description | Core types for the WebTransport implementations for aeronet |
homepage | |
repository | https://github.com/aecsocket/aeronet |
max_upload_size | |
id | 1011724 |
size | 8,080 |
aeronet_wt_core
Core types and utilities for the WebTransport implementations of aeronet.
This crate defines types such as [ChannelId
] to represent the concept of a transport method used
by WebTransport (and in turn QUIC) to deliver your app's messages. Channels may include datagrams
and bidirectional streams.
WebTransport uses the QUIC protocol internally, which allows using different methods of data transport for different situations, trading off reliability and ordering for speed. See the variant documentation for a description of each method.
Different methods may provide guarantees on:
QUIC and WebTransport also supports unidirectional streams, however implementing thse heavily
complicates the API surface, and bidirectional streams ([ChannelKind::Stream
]) are usually a good
replacement.