hoshii / Exports / RequestOptions

RequestOptions

Table of contents

Properties

Properties

auth

Optional auth: string | boolean

Defined in

lib/rest/RequestHandler.ts:24open in new window


body

Optional body: unknown

Defined in

lib/rest/RequestHandler.ts:25open in new window


endpoint

endpoint: string

Defined in

lib/rest/RequestHandler.ts:26open in new window


files

Optional files: File[]

Defined in

lib/rest/RequestHandler.ts:27open in new window


form

Optional form: FormData

Defined in

lib/rest/RequestHandler.ts:28open in new window


headers

Optional headers: Record<string, string>

Defined in

lib/rest/RequestHandler.ts:29open in new window


method

method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"

Defined in

lib/rest/RequestHandler.ts:30open in new window


priority

Optional priority: boolean

Defined in

lib/rest/RequestHandler.ts:31open in new window


query

Optional query: URLSearchParams

Defined in

lib/rest/RequestHandler.ts:32open in new window


reason

Optional reason: string

Defined in

lib/rest/RequestHandler.ts:33open in new window


route

Optional route: string

Defined in

lib/rest/RequestHandler.ts:34open in new window

Last Updated:
Contributors: Reinhardt