Share via


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)

Syntax

'Declaration
Public Interface IContentNegotiator
'Usage
Dim instance As IContentNegotiator
public interface IContentNegotiator
public interface class IContentNegotiator
type IContentNegotiator =  interface end
public interface IContentNegotiator

The IContentNegotiator type exposes the following members.

Methods

  Name Description
Public method Negotiate 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.

Top

Remarks

No content here will be updated; please do not add material here.

See Also

Reference

System.Net.Http.Formatting Namespace