Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 1.21 KB

File metadata and controls

55 lines (30 loc) · 1.21 KB

Interface: CustomFetchOptions<Method, BodyType>

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


Type Parameters

Type Parameter Default type
Method -
BodyType undefined

Properties

body

body: BodyType

The request body content to send to the server


headers

headers: Record<string, string>

HTTP Headers


method

method: Method

The request method


redirect

redirect: "manual"

See Request.redirect


signal?

optional signal?: AbortSignal

Depending on whether HttpRequestOptions.signal was used, if so, it is the value passed, otherwise undefined