response.with

response.with

response.with(...options) : Response

The with() method creates a new metro response, with all the overrides set in the ...options parameters. It accepts the same options as the metro.response() method does.