Share via


IHttpMethodMetadata Interface

Definition

Represents HTTP method metadata used during routing.

public interface class IHttpMethodMetadata
public interface IHttpMethodMetadata
type IHttpMethodMetadata = interface
Public Interface IHttpMethodMetadata
Derived

Properties

AcceptCorsPreflight

Returns a value indicating whether the associated endpoint should accept CORS preflight requests.

HttpMethods

Returns a read-only collection of HTTP methods used during routing. An empty collection means any HTTP method will be accepted.

Applies to