Class representing the service properties pertaining to CORS.
The following tables list the members exposed by the CorsRule type.
Public Constructors
Public Properties
Name | Description | |
---|---|---|
AllowedHeaders | Gets or sets headers allowed to be part of the CORS request. | |
AllowedMethods | Gets or sets the HTTP methods permitted to execute for this origin. | |
AllowedOrigins | Gets or sets domain names allowed via CORS. | |
ExposedHeaders | Gets or sets response headers that should be exposed to client via CORS. | |
MaxAgeInSeconds | Gets or sets the length of time in seconds that a preflight response should be cached by browser. |
Public Methods (see also Protected Methods)
Name | Description | |
---|---|---|
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
ToString | (Inherited from Object) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) |