[−][src]Function webmachine_rust::content_negotiation::matching_language
pub fn matching_language(
resource: &WebmachineResource<'_>,
request: &WebmachineRequest
) -> Option<String>
Determines if the languages produced by the resource matches the acceptable languages provided by the client. Returns the match if there is one.