Skip to main content

decode

Function decode 

Source
pub fn decode(sec_protocol: &str) -> Result<Value>
Expand description

Decodes a header value into the JSON it carries, as JSON.parse returns it: decodeSecProtocols does not validate it.