Skip to content

Class: FetchResponse

Defined in: src/betterdiscord/api/net.ts:8

Extends

Constructors

Constructor

ts
new FetchResponse(options: Partial<FetchResponseData & {
  status?: number;
}>): FetchResponse;

Defined in: src/betterdiscord/api/net.ts:12

Parameters

ParameterType
optionsPartial<FetchResponseData & { status?: number; }>

Returns

FetchResponse

Overrides

ts
Response.constructor

Accessors

redirected

Get Signature

ts
get redirected(): boolean;

Defined in: src/betterdiscord/api/net.ts:24

The redirected read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.

MDN Reference

Returns

boolean

Overrides

ts
Response.redirected

url

Get Signature

ts
get url(): string;

Defined in: src/betterdiscord/api/net.ts:23

The url read-only property of the Response interface contains the URL of the response.

MDN Reference

Returns

string

Overrides

ts
Response.url