CorsMiddleware Class
Processes requests according to the provided cross domain policy.
Namespace: Microsoft.Owin.Cors
Assembly: Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)
System.Object
Microsoft.Owin.Cors.CorsMiddleware
public class CorsMiddleware
public ref class CorsMiddleware
type CorsMiddleware = class end
Public Class CorsMiddleware
Name | Description | |
---|---|---|
![]() |
CorsMiddleware(Func<IDictionary<String, Object>, Task>, CorsOptions) | Creates a new instance of CorsMiddleware. |
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Invoke(IDictionary<String, Object>) | Evaluates and applies the CORS policy. Responses will be generated for preflight requests. Requests that are permitted by the CORS policy will be passed onto the next middleware. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Return to top