Skip to main content

answer_with_policy_and_headers

Function answer_with_policy_and_headers 

Source
pub async fn answer_with_policy_and_headers(
    endpoint: &Handle,
    incoming: &Incoming,
    media_address: IpAddr,
    policy: MediaPolicy,
    headers: &[Header],
) -> Result<Call>
Expand description

Answer using one coherent media policy and validated application-owned response fields.