Skip to main content

answer

Function answer 

Source
pub fn answer(offered: &[Token], allowed: &[String]) -> Vec<Token>
Expand description

The outlet’s answer to an offer.

The answer holds only offered tokens. For each name it holds at most one version: the highest version that both sides support. A feature that the configuration does not allow is left out. An offered token with a parameter is left out. The answer for resume comes from resume_request.