ICorsService ICorsService ICorsService ICorsService Interface

Definition

A type which can evaluate a policy for a particular HttpContext.

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

Methods

ApplyResult(CorsResult, HttpResponse) ApplyResult(CorsResult, HttpResponse) ApplyResult(CorsResult, HttpResponse) ApplyResult(CorsResult, HttpResponse)

Adds CORS-specific response headers to the given response.

EvaluatePolicy(HttpContext, CorsPolicy) EvaluatePolicy(HttpContext, CorsPolicy) EvaluatePolicy(HttpContext, CorsPolicy) EvaluatePolicy(HttpContext, CorsPolicy)

Evaluates the given policy using the passed in context.

Applies to