CorsMessageHandler Class

 

Custom DelegatingHandler for handling CORS requests.

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

System::Object
  System.Net.Http::HttpMessageHandler
    System.Net.Http::DelegatingHandler
      System.Web.Http.Cors::CorsMessageHandler

public ref class CorsMessageHandler : DelegatingHandler

NameDescription
System_CAPS_pubmethodCorsMessageHandler(HttpConfiguration^)

Initializes a new instance of the CorsMessageHandler class.

NameDescription
System_CAPS_pubpropertyInnerHandler

(Inherited from DelegatingHandler.)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from DelegatingHandler.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHandleCorsPreflightRequestAsync(HttpRequestMessage^, CorsRequestContext^, CancellationToken)

Handles the preflight request specified by CORS.

System_CAPS_pubmethodHandleCorsRequestAsync(HttpRequestMessage^, CorsRequestContext^, CancellationToken)

Handles the actual CORS request.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSendAsync(HttpRequestMessage^, CancellationToken)

Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.(Overrides DelegatingHandler::SendAsync(HttpRequestMessage^, CancellationToken).)

System_CAPS_pubmethodToString()

(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
Show: