Skip to content

GetOptions

Options for customizing the get request.

Properties

cacheKey?

optional cacheKey: string;

The cache key to use for the request. If not set, the default cache key of {lang}-{locale}--{entity}--{bundle}--{sha256 hash of query string if exists} will be used.

Source

decoupled-router-client/src/types.ts:33


disableAuthentication?

optional disableAuthentication: boolean;

Whether or not to disable the authentication for the request.

Source

decoupled-router-client/src/types.ts:28


disableCache?

optional disableCache: boolean;

Whether or not to disable the cache for the request.

Source

decoupled-router-client/src/types.ts:23


locale?

optional locale: string;

The locale to use for the request. If not set, the default locale will be used. If no default locale is set, no locale will be used.

Source

decoupled-router-client/src/types.ts:12


rawResponse?

optional rawResponse: boolean;

Indicates whether the raw HTTP response should be returned. When set to true, the response will not be parsed or processed, providing the raw, unaltered response from the server.

Source

decoupled-router-client/src/types.ts:18