Skip to main content

prefers_async

Function prefers_async 

Source
pub fn prefers_async(headers: &HeaderMap) -> bool
Expand description

Whether the request’s Prefer header(s) carry respond-async. The header is a comma-separated list of preferences (respond-async, return=minimal) and may be repeated.