Record -
http
: ClientEndpointConfig
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 Http1Settings {}
-
Configurations related to HTTP/1.x protocol
- http2Settings Http2Settings {}
-
Configurations related to HTTP/2 protocol
- timeoutMillis 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
- proxy ProxyConfig? ()
-
Proxy server related options
- poolConfig PoolConfiguration? ()
-
Configurations associated with request pooling
- secureSocket SecureSocket? ()
-
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