This interface is used for defining e.g., headers and query parameters with origin information. Options defined in custom take precedence over requestConfig.

interface OriginOptions {
    custom?: Record<string, any>;
    requestConfig?: Record<string, any>;
}

Properties

custom?: Record<string, any>

Header or parameters properties set explicitly, which take precedence over requestConfig.

requestConfig?: Record<string, any>

Header or parameter properties originating from the request config.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.