Struct hyper::header::Protocol
[−]
[src]
pub struct Protocol {
pub name: ProtocolName,
pub version: Option<String>,
}Protocols that appear in the Upgrade header field
Fields
name: ProtocolName
The protocol identifier
version: Option<String>
The optional version of the protocol, often in the format "DIGIT.DIGIT" (e.g.. "1.2")