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


