DefaultContentNegotiator.MatchAcceptHeader Method

Definition

protected virtual System.Net.Http.Formatting.MediaTypeFormatterMatch MatchAcceptHeader (System.Collections.Generic.IEnumerable<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> sortedAcceptValues, System.Net.Http.Formatting.MediaTypeFormatter formatter);
abstract member MatchAcceptHeader : seq<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> * System.Net.Http.Formatting.MediaTypeFormatter -> System.Net.Http.Formatting.MediaTypeFormatterMatch
override this.MatchAcceptHeader : seq<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> * System.Net.Http.Formatting.MediaTypeFormatter -> System.Net.Http.Formatting.MediaTypeFormatterMatch
Protected Overridable Function MatchAcceptHeader (sortedAcceptValues As IEnumerable(Of MediaTypeWithQualityHeaderValue), formatter As MediaTypeFormatter) As MediaTypeFormatterMatch

Parameters

formatter
System.Net.Http.Formatting.MediaTypeFormatter

Returns

Applies to