withConfig

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.

Any resources created on your behalf will be shared between clients, and will only be closed when ALL clients using them are closed. If you provide a resource (e.g. HttpClientEngine) to the SDK, you are responsible for managing the lifetime of that resource.