API Reference › Globals › Response
# Interface: Response
# Hierarchy
-
↳ Response
# Index
# Properties
# Methods
# Properties
# body
• body: ReadableStream‹Uint8Array› | null
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2531
# bodyUsed
• bodyUsed: boolean
Inherited from Response.bodyUsed
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2532
# useFinalURL
• useFinalURL: boolean
Defined in packages/workers/src/service-worker.d.ts:47
# Methods
# arrayBuffer
▸ arrayBuffer(): Promise‹ArrayBuffer›
Inherited from Response.arrayBuffer
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2533
Returns: Promise‹ArrayBuffer›
# blob
▸ blob(): Promise‹Blob›
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2534
Returns: Promise‹Blob›
# clone
▸ clone(): Response
Defined in packages/workers/src/service-worker.d.ts:48
Returns: Response
# error
▸ error(): Response
Defined in packages/workers/src/service-worker.d.ts:49
Returns: Response
# formData
▸ formData(): Promise‹FormData›
Inherited from Response.formData
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2535
Returns: Promise‹FormData›
# json
▸ json(): Promise‹any›
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2536
Returns: Promise‹any›
# redirect
▸ redirect(): Response
Defined in packages/workers/src/service-worker.d.ts:50
Returns: Response
# text
▸ text(): Promise‹string›
Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:2537
Returns: Promise‹string›