Skip to main content
Version: 1.x

Interface: ODataHttpOptions

Options for HTTP-level OData operations.

Example

const opts: ODataHttpOptions = {
timeout: 10_000,
csrfToken: 'abc123',
headers: { 'sap-client': '100' },
};

Extended by

Properties

csrfToken?

readonly optional csrfToken?: string

CSRF token for write operations (POST/PATCH/DELETE).


headers?

readonly optional headers?: Readonly<Record<string, string>>

Additional custom headers to include in the request.


timeout?

readonly optional timeout?: number

Timeout in ms for the HTTP request.