Skip to content

@ralphschuler.ai function caller.index.<internal>.Response

github-actions edited this page Nov 26, 2023 · 1 revision

Class: Response

index.<internal>.Response

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Response(body?, init?): Response

Parameters

Name Type
body? BodyInit
init? ResponseInit

Returns

Response

Overrides

Body.constructor

Defined in

node_modules/@types/node-fetch/index.d.ts:159

Properties

body

body: ReadableStream

Inherited from

Body.body

Defined in

node_modules/@types/node-fetch/index.d.ts:130


bodyUsed

bodyUsed: boolean

Inherited from

Body.bodyUsed

Defined in

node_modules/@types/node-fetch/index.d.ts:131


headers

headers: Headers

Defined in

node_modules/@types/node-fetch/index.d.ts:163


ok

ok: boolean

Defined in

node_modules/@types/node-fetch/index.d.ts:164


redirected

redirected: boolean

Defined in

node_modules/@types/node-fetch/index.d.ts:165


size

size: number

Inherited from

Body.size

Defined in

node_modules/@types/node-fetch/index.d.ts:134


status

status: number

Defined in

node_modules/@types/node-fetch/index.d.ts:166


statusText

statusText: string

Defined in

node_modules/@types/node-fetch/index.d.ts:167


timeout

timeout: number

Inherited from

Body.timeout

Defined in

node_modules/@types/node-fetch/index.d.ts:137


type

type: ResponseType

Defined in

node_modules/@types/node-fetch/index.d.ts:168


url

url: string

Defined in

node_modules/@types/node-fetch/index.d.ts:169

Methods

arrayBuffer

arrayBuffer(): Promise<ArrayBuffer>

Returns

Promise<ArrayBuffer>

Inherited from

Body.arrayBuffer

Defined in

node_modules/@types/node-fetch/index.d.ts:128


blob

blob(): Promise<Blob>

Returns

Promise<Blob>

Inherited from

Body.blob

Defined in

node_modules/@types/node-fetch/index.d.ts:129


buffer

buffer(): Promise<Buffer>

Returns

Promise<Buffer>

Inherited from

Body.buffer

Defined in

node_modules/@types/node-fetch/index.d.ts:132


clone

clone(): Response

Returns

Response

Defined in

node_modules/@types/node-fetch/index.d.ts:162


json

json(): Promise<any>

Returns

Promise<any>

Inherited from

Body.json

Defined in

node_modules/@types/node-fetch/index.d.ts:133


text

text(): Promise<string>

Returns

Promise<string>

Inherited from

Body.text

Defined in

node_modules/@types/node-fetch/index.d.ts:135


textConverted

textConverted(): Promise<string>

Returns

Promise<string>

Inherited from

Body.textConverted

Defined in

node_modules/@types/node-fetch/index.d.ts:136


error

error(): Response

Returns

Response

Defined in

node_modules/@types/node-fetch/index.d.ts:160


redirect

redirect(url, status): Response

Parameters

Name Type
url string
status number

Returns

Response

Defined in

node_modules/@types/node-fetch/index.d.ts:161

Typescript Libraries

Modules

Namespaces

Clone this wiki locally