Options
All
  • Public
  • Public/Protected
  • All
Menu

Request initialization data.

Hierarchy

  • RequestInit

Implemented by

Index

Properties

Optional body

body?: null | HttpBody

The request body to send.

Notice GET and HEAD requests must not have a body. Initializing a Request of type GET or HEAD with a body will throw.

Optional headers

headers?: HeadersInit

Request headers to send.

method

method: Method

The HTTP method to use.

Optional redirect

redirect?: RedirectPolicy

What to do in case of redirects.

Generated using TypeDoc