LuciadRIA (2026.0.07)
    Preparing search index...

    Interface to provide HTTP request options.

    interface HttpRequestOptions {
        credentials?: boolean | RequestCredentials;
        requestHeaders?: HttpRequestHeaders | null;
        requestParameters?: HttpRequestParameters | null;
    }

    Hierarchy (View Summary)

    Properties

    credentials?: boolean | RequestCredentials

    Determines whether the browser sends credentials with the request

    Can be either a boolean or a RequestCredentials value:

    • true: maps to "include" - credentials are included in both same-origin and cross-origin requests
    • false: maps to "same-origin" - credentials are only included in same-origin requests
    • "include": credentials are included in both same-origin and cross-origin requests
    • "same-origin": credentials are only included in same-origin requests
    • "omit": credentials are never included in requests
    requestHeaders?: HttpRequestHeaders | null

    An object literal that represents headers (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified headers will be performed instead of creating an Image.

    requestParameters?: HttpRequestParameters | null

    An object literal that represents URL parameters (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified query parameters will be performed instead of creating an Image.

    2021.0