Skip to main content

client_protocol_version

Function client_protocol_version 

Source
pub fn client_protocol_version(
    metadata: &MetadataMap,
) -> Option<ProtocolVersion>
Expand description

The highest protocol version the client that sent a request understands, if it said.

Self-reported, so it may be used to pick a response shape the client can decode but never for access control. None for clients that predate the header or send a malformed value.