IUnacceptableHandler Interface
Handler for requests that are not acceptable based on the given “Accept”-header.
public interface IUnacceptableHandlerProperties
Section titled “Properties”IUnacceptableHandler.DefaultMediaTypeToUse Property
Section titled “IUnacceptableHandler.DefaultMediaTypeToUse Property”The default media type that should be used to serialize the response of the Endpoint if those present in the “Accept”-header cannot be used.
System.Net.Http.Headers.MediaTypeHeaderValue DefaultMediaTypeToUse { get; }Property Value
Section titled “Property Value”System.Net.Http.Headers.MediaTypeHeaderValue
IUnacceptableHandler.Endpoint Property
Section titled “IUnacceptableHandler.Endpoint Property”The Microsoft.AspNetCore.Http.Endpoint that handles requests that cannot be accepted.
Microsoft.AspNetCore.Http.Endpoint Endpoint { get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!