Negotiates the prefered content type from what the application provides and what the request has in its Accept header.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
bool | bool acceptLanguage(IRequest request, string langCode) | ||||
string[] | string[] acceptedLanguages(IRequest request) | ||||
Json[string] | Json[string] parseAccept(IRequest request) | ||||
Json[string] | Json[string] parseAcceptLanguage(IRequest request) | ||||
string | string preferredType(IRequest request, string[] supportedContenttypeChoices = null) | ||||
string[][string] | string[][string] parseQualifiers(string headerValue) |