Constructor parameter for Request

This contains information to send along with the request (Headers, body, etc...), as well as Fastly specific information.


  • RequestInit


backend?: string

The Fastly configured backend the request should be sent to.

body?: null | BodyInit

A BodyInit object or null to set request's body.

cacheKey?: string
cacheOverride?: CacheOverride
headers?: HeadersInit

A Headers object, an object literal, or an array of two-item arrays to set request's headers.

method?: string

A string to set request's method.

Generated using TypeDoc