GetOptions
Defined in: decoupled-router-client/src/types.ts:6
Options for customizing the get request.
Properties
Section titled “Properties”cacheKey?
Section titled “cacheKey?”optional cacheKey?: string;Defined in: decoupled-router-client/src/types.ts:33
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.
disableAuthentication?
Section titled “disableAuthentication?”optional disableAuthentication?: boolean;Defined in: decoupled-router-client/src/types.ts:28
Whether or not to disable the authentication for the request.
disableCache?
Section titled “disableCache?”optional disableCache?: boolean;Defined in: decoupled-router-client/src/types.ts:23
Whether or not to disable the cache for the request.
locale?
Section titled “locale?”optional locale?: string;Defined in: decoupled-router-client/src/types.ts:12
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.
rawResponse?
Section titled “rawResponse?”optional rawResponse?: boolean;Defined in: decoupled-router-client/src/types.ts:18
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.