UNPKG

@fastly/as-fetch

Version:

![npm version](https://img.shields.io/npm/v/@fastly/as-fetch) ![npm downloads per month](https://img.shields.io/npm/dm/@fastly/as-fetch)

42 lines (22 loc) 609 B
[@fastly/as-fetch](../README.md) / RequestInit # Class: RequestInit A configuration object to apply to the `Request` being created. ## Table of contents ### Constructors - [constructor](requestinit.md#constructor) ### Properties - [body](requestinit.md#body) - [headers](requestinit.md#headers) - [method](requestinit.md#method) ## Constructors ### constructor • **new RequestInit**() ## Properties ### body • **body**: ``null`` \| `ArrayBuffer` = null ___ ### headers • **headers**: ``null`` \| [Headers](headers.md) = null ___ ### method • **method**: ``null`` \| `string` = null