@pantheon-systems/cms-kit
Functions
setSurrogateKeyHeader
▸ setSurrogateKeyHeader(keys, res): string | void
Adds an aggregated list of surrogate keys in the working response.
Parameters
| Name | Type | Description |
|---|---|---|
keys | null | string | Value for surrogate-key header in API response. |
res | ServerResponse<IncomingMessage> | The active http.ServerResponse object. |
Returns
string | void
The current known unique set of surrogate keys.