IAcceptsMetadata Interface

Definition

Interface for accepting request media types.

public interface IAcceptsMetadata
type IAcceptsMetadata = interface
Public Interface IAcceptsMetadata
Derived

Properties

ContentTypes

Gets a list of the allowed request content types. If the incoming request does not have a Content-Type with one of these values, the request will be rejected with a 415 response.

IsOptional

Gets a value that determines if the request body is optional.

RequestType

Gets the type being read from the request.

Applies to