This Fetch API interface represents the response to a request.
class Response | globals module | Bun BuildDocsReferenceGuidesBlogDiscord/Globals/ResponseMarrayBufferMblobPbodyPbodyUsedMbytesMcloneMerrorMformDataPheadersMjsonPokMredirectPredirectedPstatusPstatusTextMtextPtypePurl BuildDocsReferenceGuidesBlogDiscord /Globals/ResponseMarrayBufferMblobPbodyPbodyUsedMbytesMcloneMerrorMformDataPheadersMjsonPokMredirectPredirectedPstatusPstatusTextMtextPtypePurl readonly body: null | ReadableStreamUint8ArrayArrayBufferLike>> readonly bodyUsed: boolean readonly headers: Headers readonly ok: boolean readonly redirected: boolean readonly status: number readonly statusText: string readonly type: ResponseType readonly url: string arrayBuffer(): PromiseArrayBuffer>; blob(): PromiseBlob>; bytes(): PromiseUint8ArrayArrayBufferLike>>; clone(): Response; formData(): PromiseFormData>; json(): Promiseany>; text(): Promisestring>; static error(): Response; static json(data: any,init?: ResponseInit): Response; static redirect(url: string | URL,status?: number): Response;
Search the reference...
/
class
Responseclass ResponseResources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →class Response | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- This Fetch API interface represents the response to a request.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)