Skip to main content

request_header

Function request_header 

Source
pub fn request_header(
    header_name: impl Into<HeaderName<'static>>,
) -> impl ClientLogFormatter
Available on crate feature client only.
Expand description

Formatter-builder for a particular request header, wrapped in quotes. Produces "" if the header is not present.