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

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

Méthodes publiques

Свойство Type Description
WithAny string[]

Méthodes publiques

Méthode Description
Process ( IResponseInfo responseInfo ) : System.Threading.Tasks.Task

Private Methods

Méthode 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 méthode

public Process ( IResponseInfo responseInfo ) : System.Threading.Tasks.Task
responseInfo IResponseInfo
Résultat System.Threading.Tasks.Task

Property Details

WithAny public_oe static_oe property

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