Documentation / @warp-drive/core / request / Context
Interface: Context
Defined in: warp-drive-packages/core/src/request/-private/context.ts:158
Methods
setIdentifier()
ts
setIdentifier(identifier): void;
Defined in: warp-drive-packages/core/src/request/-private/context.ts:182
Parameters
identifier
Returns
void
setResponse()
ts
setResponse(response): void;
Defined in: warp-drive-packages/core/src/request/-private/context.ts:178
Parameters
response
null
| Response
| ResponseInfo
Returns
void
setStream()
ts
setStream(stream): void;
Defined in: warp-drive-packages/core/src/request/-private/context.ts:175
Parameters
stream
ReadableStream
<any
> | Promise
< | null
| ReadableStream
<any
>>
Returns
void
Properties
id
ts
id: number;
Defined in: warp-drive-packages/core/src/request/-private/context.ts:162
request
ts
request: ImmutableRequestInfo;
Defined in: warp-drive-packages/core/src/request/-private/context.ts:161
hasRequestedStream
Get Signature
ts
get hasRequestedStream(): boolean;
Defined in: warp-drive-packages/core/src/request/-private/context.ts:190
Returns
boolean