Class TRALCORSOptions
Unit
Declaration
type TRALCORSOptions = class(TPersistent)
Description
Internal CORS configuration of Server
Hierarchy
- TObject
- TPersistent
- TRALCORSOptions
Overview
Methods
| Public | constructor Create; |
| Public | destructor Destroy; override; |
| Public | function GetAllowHeaders: StringRAL; |
| Public | procedure AddAllowHeader(AValue: StringRAL); |
| Protected | procedure SetAllowHeaders(AValue: TStringList); |
| Protected | procedure SetDefaultHeaders; |
Properties
| Published | property AllowHeaders: TStringList read FAllowHeaders write SetAllowHeaders; |
| Published | property AllowOrigin: StringRAL read FAllowOrigin write FAllowOrigin; |
| Published | property MaxAge: IntegerRAL read FMaxAge write FMaxAge; |
Description
Methods
| Public | constructor Create; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | function GetAllowHeaders: StringRAL; |
|
This item has no description. | |
| Public | procedure AddAllowHeader(AValue: StringRAL); |
|
This item has no description. | |
| Protected | procedure SetAllowHeaders(AValue: TStringList); |
|
This item has no description. | |
| Protected | procedure SetDefaultHeaders; |
|
This item has no description. | |
Properties
| Published | property AllowHeaders: TStringList read FAllowHeaders write SetAllowHeaders; |
|
List of headers that are allowed in the CORS configuration | |
| Published | property AllowOrigin: StringRAL read FAllowOrigin write FAllowOrigin; |
|
List of IPs allowed to comunicate with the server | |
| Published | property MaxAge: IntegerRAL read FMaxAge write FMaxAge; |
|
Time in miliseconds to allow an active CORS session | |
PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.