Skip to main content

DEFAULT_ALPN

Constant DEFAULT_ALPN 

Source
pub const DEFAULT_ALPN: &[&str];
Expand description

ALPN protocol identifiers advertised when the config does not say otherwise.

Surge speaks HTTP/3, so h3 is the only default. It stays configurable because interop debugging occasionally needs a draft identifier.