Options
io.github.edadma.apion.CorsMiddleware.Options
Configuration options for CORS middleware
Value parameters
- allowedHeaders
-
Allowed request headers
- credentials
-
Allow credentials (cookies, authorization headers)
- exposedHeaders
-
Headers exposed to the client
- maxAge
-
How long preflight results can be cached (seconds)
- methods
-
Allowed HTTP methods
- optionsSuccessStatus
-
Status code for successful OPTIONS requests
- origin
-
Origin configuration - can be "*", a string, or a list of allowed origins
- preflightSuccessStatus
-
Status code for successful preflight requests
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article