Stone.js API
    Preparing search index...
    interface HttpCorsConfig {
        allowedHeaders: string | string[];
        credentials: boolean;
        exposedHeaders: string | string[];
        maxAge: number;
        methods: string | string[];
        origin: string | string[];
        preflightStop: boolean;
        successStatus: number;
    }
    Index
    allowedHeaders: string | string[]

    The headers that are allowed in CORS requests.

    credentials: boolean

    Whether credentials are allowed in CORS requests.

    exposedHeaders: string | string[]

    The headers that are exposed to the client in CORS responses.

    maxAge: number

    The maximum age for preflight requests.

    methods: string | string[]

    The allowed methods for CORS requests.

    origin: string | string[]

    The allowed origins for CORS requests.

    preflightStop: boolean

    Whether to stop processing preflight requests.

    successStatus: number

    The HTTP status code to use for successful preflight requests.