Skip to content

Documentation / @ember-data/request / index / Context

Interface: Context

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:28

Methods

setIdentifier()

ts
setIdentifier(identifier): void;

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:34

Parameters

identifier

RequestKey

Returns

void


setResponse()

ts
setResponse(response): void;

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:33

Parameters

response

null | Response | ResponseInfo

Returns

void


setStream()

ts
setStream(stream): void;

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:32

Parameters

stream

ReadableStream<any> | Promise< | null | ReadableStream<any>>

Returns

void

Properties

id

ts
id: number;

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:30


request

ts
request: ImmutableRequestInfo;

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:29

hasRequestedStream

Get Signature

ts
get hasRequestedStream(): boolean;

Defined in: warp-drive-packages/core/declarations/request/-private/context.d.ts:35

Returns

boolean

Released under the MIT License.