Record: CommonClientConfiguration

Common client configurations for the next level clients.

Closed record

Fields

  • httpVersion string(default HTTP_1_1)
  • The HTTP version understood by the client

  • http1Settings ClientHttp1Settings(default {})
  • Configurations related to HTTP/1.x protocol

  • http2Settings ClientHttp2Settings(default {})
  • Configurations related to HTTP/2 protocol

  • timeout decimal(default 60)
  • The maximum time to wait (in seconds) for a response before closing the connection

  • forwarded string(default "disable")
  • The choice of setting forwarded/x-forwarded header

  • followRedirects FollowRedirects?(default ())
  • Configurations associated with Redirection

  • poolConfig PoolConfiguration?(default ())
  • Configurations associated with request pooling

  • cache CacheConfig(default {})
  • HTTP caching related configurations

  • compression Compression(default COMPRESSION_AUTO)
  • Specifies the way of handling compression (accept-encoding) header

  • auth ClientAuthConfig?(default ())
  • Configurations related to client authentication

  • circuitBreaker CircuitBreakerConfig?(default ())
  • Configurations associated with the behaviour of the Circuit Breaker

  • retryConfig RetryConfig?(default ())
  • Configurations associated with retrying

  • cookieConfig CookieConfig?(default ())
  • Configurations associated with cookies

  • responseLimits ResponseLimitConfigs(default {})
  • Configurations associated with inbound response size limits