Skip to main content

extract

Function extract 

Source
pub fn extract(cx: &Context, headers: &HeaderMap) -> Context
Expand description

A copy of cx holding the fields a request’s headers carry, in place of those it held: the first value of each header named for a field.