Skip to content

mergeResponse

mergeResponse(responseAcc, patch): void

Defined in: utils/compose-with.js:69

Merges a response patch into the response accumulator.

  • headers arrays are appended (additive across middleware)
  • All other properties are assigned (last writer wins)

any

Mutable response accumulator

any

Response contribution from middleware

void