CorsHttpResponseMessageExtensions Class
CORS-related extension methods for HttpResponseMessage.
Namespace: System.Web.Http.Cors
Assembly: System.Web.Http.Cors (in System.Web.Http.Cors.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Cors.CorsHttpResponseMessageExtensions
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class CorsHttpResponseMessageExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class CorsHttpResponseMessageExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type CorsHttpResponseMessageExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class CorsHttpResponseMessageExtensions
Methods
Name | Description | |
---|---|---|
![]() ![]() |
WriteCorsHeaders(HttpResponseMessage, CorsResult) | Writes the CORS headers on the response. |
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.Http.Cors Namespace
Return to top