Record: CorsConfig

Represent CORS configurations for internal HTTP service

Closed record


  • Fields Included from *CorsConfig
    • allowHeaders string[ ]
    • The array of allowed headers by the service

    • allowMethods string[ ]
    • The array of allowed methods by the service

    • allowOrigins string[ ]
    • The array of origins with which the response is shared by the service

    • exposeHeaders string[ ]
    • The allowlisted headers, which clients are allowed to access

    • allowCredentials boolean
    • Specifies whether credentials are required to access the service

    • maxAge decimal
    • The maximum duration to cache the preflight from client side