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 class CorsMessageHandler : DelegatingHandler
public ref class CorsMessageHandler : DelegatingHandler
type CorsMessageHandler =
class
inherit DelegatingHandler
end
Public Class CorsMessageHandler
Inherits DelegatingHandler
Name | Description | |
---|---|---|
![]() |
CorsMessageHandler(HttpConfiguration) | Initializes a new instance of the CorsMessageHandler class. |
Name | Description | |
---|---|---|
![]() |
InnerHandler | (Inherited from DelegatingHandler.) |
Name | Description | |
---|---|---|
![]() |
Dispose() | (Inherited from HttpMessageHandler.) |
![]() |
Dispose(Boolean) | (Inherited from DelegatingHandler.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
HandleCorsPreflightRequestAsync(HttpRequestMessage, CorsRequestContext, CancellationToken) | Handles the preflight request specified by CORS. |
![]() |
HandleCorsRequestAsync(HttpRequestMessage, CorsRequestContext, CancellationToken) | Handles the actual CORS request. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
SendAsync(HttpRequestMessage, CancellationToken) | Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.(Overrides DelegatingHandler.SendAsync(HttpRequestMessage, CancellationToken).) |
![]() |
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.
System.Web.Http.Cors Namespace
Return to top