MediaTypeFormatterExtensions.AddRequestHeaderMapping Method
Include Protected Members
Include Inherited Members
Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with a specific HTTP request header field with a specific value.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, MediaTypeHeaderValue) | Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with a specific HTTP request header field with a specific value. | |
AddRequestHeaderMapping(MediaTypeFormatter, String, String, StringComparison, Boolean, String) | Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with a specific HTTP request header field with a specific value. |
Top