Record -
http
: ClientConfiguration
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- httpVersion string HTTP_1_1
-
The HTTP version understood by the client
- http1Settings ClientHttp1Settings {}
-
Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings {}
-
Configurations related to HTTP/2 protocol
- timeoutInMillis int 60000
-
The maximum time to wait (in milliseconds) for a response before closing the connection
- forwarded string disable
-
The choice of setting
forwarded
/x-forwarded
header
- followRedirects FollowRedirects? ()
-
Configurations associated with Redirection
- poolConfig PoolConfiguration? ()
-
Configurations associated with request pooling
- secureSocket ClientSecureSocket? ()
-
SSL/TLS related options
- cache CacheConfig {}
-
HTTP caching related configurations
- compression Compression COMPRESSION_AUTO
-
Specifies the way of handling compression (
accept-encoding
) header
- auth OutboundAuthConfig? ()
-
HTTP authentication related configurations
- circuitBreaker CircuitBreakerConfig? ()
-
Configurations associated with Circuit Breaker behaviour
- retryConfig RetryConfig? ()
-
Configurations associated with Retry