request.with

request.with

request.with(...options) : Request

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