navigation

CORS

Namespace: Saturn
Parent: Saturn

Module defining CORS HttpHandler


Declared Types
Type Description
CORSConfig

The configuration values for CORS


Values and Functions
Name Description
cors config nxt ctx
Signature: config:CORSConfig -> nxt:HttpFunc -> ctx:HttpContext -> HttpFuncResult

Check the incoming request against the provided CORSConfig.

defaultCORSConfig
Signature: CORSConfig