negotiate

Function negotiate 

Source
pub fn negotiate(
    policy: &Compression,
    accept: Option<&str>,
) -> Option<CompressionPlan>
Expand description

Negotiate the coding for one response (DW-027): the first policy algorithm the request accepts wins; None = serve identity.