Skip to main content

DEFAULT_ALPN_PROTOCOLS

Constant DEFAULT_ALPN_PROTOCOLS 

Source
pub const DEFAULT_ALPN_PROTOCOLS: [&str; 2];
Expand description

Default ALPN protocols advertised by HTTPS listeners. Both HTTP/2 and HTTP/1.1 are enabled, allowing clients to negotiate either.