温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/globals/Response
点击访问原文链接

class Response | globals module | Bun

class Response | globals module | BunBuildDocsReferenceGuidesBlogDiscord/Globals/ResponseMarrayBufferMblobPbodyPbodyUsedMbytesMcloneMerrorMformDataPheadersMjsonPokMredirectPredirectedPstatusPstatusTextMtextPtypePurl

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Globals/ResponseMarrayBufferMblobPbodyPbodyUsedMbytesMcloneMerrorMformDataPheadersMjsonPokMredirectPredirectedPstatusPstatusTextMtextPtypePurl

class

Responseclass Response

This Fetch API interface represents the response to a request.

MDN Reference

readonly body: null | ReadableStreamUint8ArrayArrayBufferLike>>readonly bodyUsed: booleanreadonly headers: Headersreadonly ok: booleanreadonly redirected: booleanreadonly status: numberreadonly statusText: stringreadonly type: ResponseTypereadonly url: stringarrayBuffer(): 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;

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked 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)