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) 598 B
[@fastly/as-fetch](../README.md) / ResponseInit # Class: ResponseInit A configuration object to apply to the HTTP response being created. ## Table of contents ### Constructors - [constructor](responseinit.md#constructor) ### Properties - [headers](responseinit.md#headers) - [status](responseinit.md#status) - [url](responseinit.md#url) ## Constructors ### constructor • **new ResponseInit**() ## Properties ### headers • **headers**: ``null`` \| [Headers](headers.md) = null ___ ### status • **status**: `number` = 200 ___ ### url • **url**: ``null`` \| `string` = null