Skip to main content

protocol_version_from_header

Function protocol_version_from_header 

Source
pub fn protocol_version_from_header(version: Option<u8>) -> ProtocolVersion
Expand description

Map an explicit smart-HTTP protocol version header to a wire version.