CorsMiddleware CorsMiddleware CorsMiddleware Class

Definition

A middleware for handling CORS.

public class CorsMiddleware
type CorsMiddleware = class
Public Class CorsMiddleware
Inheritance
CorsMiddlewareCorsMiddlewareCorsMiddleware

Constructors

CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy) CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy) CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy)

Instantiates a new CorsMiddleware.

CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider)

Instantiates a new CorsMiddleware.

CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy, ILoggerFactory) CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy, ILoggerFactory) CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy, ILoggerFactory)

Instantiates a new CorsMiddleware.

CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory)

Instantiates a new CorsMiddleware.

CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, String) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, String) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, String)

Instantiates a new CorsMiddleware.

CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory, String) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory, String) CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory, String)

Instantiates a new CorsMiddleware.

Methods

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext)

Applies to