CORSConfig
Namespace:
Saturn
Parent:
CORS
The configuration values for CORS
Name
|
Description
|
Record Fields
|
allowedUris
Signature:
InclusiveOption
|
The list of allowed Uri(s) for requests.
|
allowedMethods
Signature:
InclusiveOption
|
The list of allowed HttpMethods for the request.
|
allowCookies
Signature:
bool
|
Allow cookies? This is sent in the AccessControlAllowCredentials header.
|
exposeHeaders
|
The list of response headers exposed to client. This is sent in AccessControlExposeHeaders header.
|
maxAge
Signature:
int option
|
Max age in seconds the user agent is allowed to cache the result of the request.
|