Documentation
Interfaces
use/fetch.RequestContext

Interface: RequestContext

use/fetch.RequestContext

Properties

ReadableStream

ReadableStream: (underlyingSource: UnderlyingByteSource, strategy?: {}) => ReadableStream<Uint8Array><R>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>) => ReadableStream<R><R>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>) => ReadableStream<R>

Type declaration

new ReadableStream(underlyingSource, strategy?): ReadableStream<Uint8Array>

Parameters
NameType
underlyingSourceUnderlyingByteSource
strategy?Object
Returns

ReadableStream<Uint8Array>

new ReadableStream<R>(underlyingSource, strategy?): ReadableStream<R>

Type parameters
NameType
Rany
Parameters
NameType
underlyingSourceUnderlyingDefaultSource<R>
strategy?QueuingStrategy<R>
Returns

ReadableStream<R>

new ReadableStream<R>(underlyingSource?, strategy?): ReadableStream<R>

Type parameters
NameType
Rany
Parameters
NameType
underlyingSource?UnderlyingSource<R>
strategy?QueuingStrategy<R>
Returns

ReadableStream<R>

Defined in

src/use/fetch.ts:12


Response

Response: (body?: null | BodyInit, init?: ResponseInit) => Response

Type declaration

new Response(body?, init?): Response

Parameters
NameType
body?null | BodyInit
init?ResponseInit
Returns

Response

Defined in

src/use/fetch.ts:11


TextEncoder

TextEncoder: () => TextEncoder

Type declaration

new TextEncoder(): TextEncoder

Returns

TextEncoder

Defined in

src/use/fetch.ts:13