Skip to content

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

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

Class: Request

index.<internal>.Request

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Request(input, init?): Request

Parameters

Name Type
input RequestInfo
init? RequestInit

Returns

Request

Overrides

Body.constructor

Defined in

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

Properties

agent

Optional agent: boolean | Agent | (parsedUrl: URL) => undefined | boolean | Agent

Defined in

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


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


compress

compress: boolean

Defined in

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


context

context: RequestContext

Defined in

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


counter

counter: number

Defined in

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


follow

follow: number

Defined in

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


headers

headers: Headers

Defined in

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


hostname

hostname: string

Defined in

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


method

method: string

Defined in

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


port

Optional port: number

Defined in

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


protocol

protocol: string

Defined in

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


redirect

redirect: RequestRedirect

Defined in

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


referrer

referrer: string

Defined in

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


size

size: number

Overrides

Body.size

Defined in

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


timeout

timeout: number

Overrides

Body.timeout

Defined in

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


url

url: string

Defined in

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

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(): Request

Returns

Request

Defined in

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


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

Typescript Libraries

Modules

Namespaces

Clone this wiki locally