Documentation / @warp-drive/core / StoreRequestContext
Interface: StoreRequestContext
Defined in: core/src/store/-private/cache-handler/handler.ts:45
Extends
Methods
setResponse()
ts
setResponse(response): void;Defined in: core/src/types/request.ts:408
Parameters
response
null | Response | ResponseInfo
Returns
void
Inherited from
setStream()
ts
setStream(stream): void;Defined in: core/src/types/request.ts:407
Parameters
stream
ReadableStream<any> | Promise< | null | ReadableStream<any>>
Returns
void
Inherited from
Properties
id
ts
id: number;Defined in: core/src/types/request.ts:405
Inherited from
request
ts
request: Readonly<Omit<RequestInfo<unknown>, "controller">> & object & object;Defined in: core/src/store/-private/cache-handler/handler.ts:46
Type declaration
bodyUsed?
ts
readonly optional bodyUsed: boolean;Whether the request body has been read.
cacheOptions?
ts
readonly optional cacheOptions: Readonly<CacheOptions>;data?
ts
readonly optional data: Readonly<Record<string, unknown>>;headers?
ts
readonly optional headers: ImmutableHeaders;options?
ts
readonly optional options: Readonly<Record<string, unknown>>;Type declaration
store
ts
store: Store;