GetApiCorsConfiguration

data class GetApiCorsConfiguration(val allowCredentials: Boolean, val allowHeaders: List<String>, val allowMethods: List<String>, val allowOrigins: List<String>, val exposeHeaders: List<String>, val maxAge: Int)

Constructors

Link copied to clipboard
constructor(allowCredentials: Boolean, allowHeaders: List<String>, allowMethods: List<String>, allowOrigins: List<String>, exposeHeaders: List<String>, maxAge: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether credentials are included in the CORS request.

Link copied to clipboard

Set of allowed HTTP headers.

Link copied to clipboard

Set of allowed HTTP methods.

Link copied to clipboard

Set of allowed origins.

Link copied to clipboard

Set of exposed HTTP headers.

Link copied to clipboard
val maxAge: Int

Number of seconds that the browser should cache preflight request results.