Share via


CorsEngine Class

 

An implementation of ICorsEngine based on the CORS specifications.

Namespace:   System.Web.Cors
Assembly:  System.Web.Cors (in System.Web.Cors.dll)

Inheritance Hierarchy

System.Object
  System.Web.Cors.CorsEngine

Syntax

public class CorsEngine : ICorsEngine
public ref class CorsEngine : ICorsEngine
type CorsEngine = 
    class
        interface ICorsEngine
    end
Public Class CorsEngine
    Implements ICorsEngine

Constructors

Name Description
System_CAPS_pubmethod CorsEngine()

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod EvaluatePolicy(CorsRequestContext, CorsPolicy)

Evaluates the policy.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryValidateHeaders(CorsRequestContext, CorsPolicy, CorsResult)

Try to validate the requested headers based on CorsPolicy.

System_CAPS_pubmethod TryValidateMethod(CorsRequestContext, CorsPolicy, CorsResult)

Try to validate the requested method based on CorsPolicy.

System_CAPS_pubmethod TryValidateOrigin(CorsRequestContext, CorsPolicy, CorsResult)

Try to validate the request origin based on CorsPolicy.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Cors Namespace

Return to top