1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Native WebTransport implementation built on top of QUIC using Quinn.
//!
//! This crate provides a low-level, QUIC WebTransport API for native environments.
//!
//! The implementation is powered by [`quinn`], and most transport-level
//! behavior (congestion control, flow control, crypto, etc.) is delegated
//! directly to Quinn.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
use Connect;
pub use ConnectError;
use Settings;
pub use SettingsError;
/// The HTTP/3 ALPN token used when negotiating a QUIC connection.
pub const ALPN: &str = "h3";
/// Whether the native transport can use the draft-required RESET_STREAM_AT
/// extension.
///
/// Quinn 0.11 does not expose this extension, so callers that require strict
/// draft-16 conformance should reject the native backend while this is `false`.
pub const RESET_STREAM_AT_SUPPORTED: bool = false;
// Export the simple crypto provider.
// Re-export the underlying QUIC implementation.
pub use quinn;
// Re-export the `rustls` crate because it is part of the public API.
pub use rustls;
// Re-export the `http` crate because it is part of the public API.
pub use http;
// Re-export the generic WebTransport traits.
pub use webtrans_trait as generic;