HttpClientConfig
A mutable HttpClient configuration. Learn more about the client's configuration from Creating and configuring a client.
Constructors
Functions
Clones this HttpClientConfig by duplicating all the plugins and customInterceptors.
Applies all the installed plugins and customInterceptors from this configuration into the specified client.
Installs the plugin from the other client's configuration.
Properties
Indicates whether the client should use development mode. In development mode, the client's pipelines have advanced stack traces.
Terminates HttpClient.receivePipeline if the status code is not successful (>=300). Learn more from Response validation.
Uses defaultTransformers to automatically handle simple ContentType.
Extensions
Default response validation. Check the response status code in range (0..299).
Installs the UserAgent plugin with a browser-like user agent.
Configure client charsets.
Installs the UserAgent plugin with a CURL user agent.
Set default request parameters. See DefaultRequest
Install HttpCallValidator with block configuration.
Install ResponseObserver plugin in client.
Installs the WebSockets plugin using the config as configuration.