CorsResult Class

Definition

Results returned by ICorsService.

public ref class CorsResult
public class CorsResult
type CorsResult = class
Public Class CorsResult
Inheritance
CorsResult

Constructors

CorsResult()

Properties

AllowedExposedHeaders

Gets the allowed headers that can be exposed on the response.

AllowedHeaders

Gets the allowed headers.

AllowedMethods

Gets the allowed methods.

AllowedOrigin

Gets or sets the allowed origin.

IsOriginAllowed

Gets or sets a value that determines if the origin is allowed. When false, no CORS headers should be sent.

IsPreflightRequest

Gets or sets a value that determines if the current request is a CORS-preflight request.

PreflightMaxAge

Gets or sets the TimeSpan for which the results of a preflight request can be cached.

SupportsCredentials

Gets or sets a value indicating whether the resource supports user credentials.

VaryByOrigin

Gets or sets a value indicating if a 'Vary' header with the value 'Origin' is required.

Methods

ToString()

Returns a String that represents this instance.

Applies to