DefaultContentNegotiator.MatchRequestMediaType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
protected virtual System.Net.Http.Formatting.MediaTypeFormatterMatch MatchRequestMediaType (System.Net.Http.HttpRequestMessage request, System.Net.Http.Formatting.MediaTypeFormatter formatter);
abstract member MatchRequestMediaType : System.Net.Http.HttpRequestMessage * System.Net.Http.Formatting.MediaTypeFormatter -> System.Net.Http.Formatting.MediaTypeFormatterMatch
override this.MatchRequestMediaType : System.Net.Http.HttpRequestMessage * System.Net.Http.Formatting.MediaTypeFormatter -> System.Net.Http.Formatting.MediaTypeFormatterMatch
Protected Overridable Function MatchRequestMediaType (request As HttpRequestMessage, formatter As MediaTypeFormatter) As MediaTypeFormatterMatch
Parameters
- request
- HttpRequestMessage
- formatter
- System.Net.Http.Formatting.MediaTypeFormatter