Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IContentNegotiator Interface

 

Performs content negotiation. This is the process of selecting a response writer (formatter) in compliance with header values in the request.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public interface class IContentNegotiator

NameDescription
System_CAPS_pubmethodNegotiate(Type^, HttpRequestMessage^, IEnumerable<MediaTypeFormatter^>^)

Performs content negotiating by selecting the most appropriate MediaTypeFormatter out of the passed in formatters for the given request that can serialize an object of the given type.

Return to top
Show: