Options
All
  • Public
  • Public/Protected
  • All
Menu

The configuration object to apply to the downstream client response.

This config can be sent with the {@linkcode Fetchly.respondWith} calls, to do additional Fastly C@E functionality before responding back to the client.

Hierarchy

  • FastlyResponseConfig

Index

Constructors

Properties

Constructors

constructor

Properties

responsesToAppend

responsesToAppend: null | FastlyUpstreamResponse[] = null

An array of FastlyUpstreamResponse that will be used to append the body of each request to the downstream client response. The body on the response is sent first, followed by the bodies of the responsesToAppend, in the order that they are in the array. This is useful for concatenating together large responses, without having to load the bodies of each response into your wasm module.

Legend

  • Constructor
  • Property

Generated using TypeDoc