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 Parameter | Default type |
|---|---|
Method |
- |
BodyType |
undefined |
• body: BodyType
The request body content to send to the server
• headers: Record<string, string>
HTTP Headers
• method: Method
The request method
• redirect: "manual"
See Request.redirect
• optional signal?: AbortSignal
Depending on whether HttpRequestOptions.signal was used, if so, it is the value passed, otherwise undefined