Skip to main content

protocol_of

Function protocol_of 

Source
pub fn protocol_of(headers: &HeaderMap) -> String
Expand description

The protocol date a prepared request carries — its own header when it set one (the upload transport’s pin), else the build’s, which the transport adds as a default header.