client.with

client.with

client.with(...options) : Client

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