C# Class URSA.Web.Http.Security.CorsPostRequestHandler

Provides a default implementation of the Cross-Origin Resource Sharing mechanism.
Inheritance: IPostRequestHandler
Mostra file Open project: alien-mcl/URSA

Public Properties

Property Type Description
WithAny string[]

Public Methods

Method Description
Process ( IResponseInfo responseInfo ) : System.Threading.Tasks.Task

Private Methods

Method Description
CorsPostRequestHandler ( ) : System
CorsPostRequestHandler ( IEnumerable allowedOrigins ) : System
CorsPostRequestHandler ( IEnumerable allowedOrigins, IEnumerable allowedHeaders ) : System
CorsPostRequestHandler ( IEnumerable allowedOrigins, IEnumerable allowedHeaders, IEnumerable exposedHeaders ) : System
ExposedHeaders ( IEnumerable
headers ) : IEnumerable
InitializeAllowedHeaders ( IEnumerable allowedHeaders ) : string
InitializeExposedHeaders ( IEnumerable exposedHeaders, bool &exposeAnyHeader ) : string
IsOriginAllowed ( string origin ) : string

Method Details

Process() public method

public Process ( IResponseInfo responseInfo ) : System.Threading.Tasks.Task
responseInfo IResponseInfo
return System.Threading.Tasks.Task

Property Details

WithAny public_oe static_oe property

Defines a collection of enabled elements to "*" (any).
public static string[] WithAny
return string[]