Record - http : FailoverClientConfiguration

Provides a set of HTTP related configurations and failover related configurations.

Fields

  • httpVersion string (default HTTP_1_1)
  • The HTTP version to be used to communicate with the endpoint

  • timeoutInMillis int (default 60000)
  • The maximum time to wait (in milliseconds) for a response before closing the connection

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

  • proxy ProxyConfig? (default ())
  • Proxy related options

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

  • targets TargetService[] (default [])
  • The upstream HTTP endpoints among which the incoming HTTP traffic load should be sent on failover

  • cache CacheConfig (default {})
  • The configurations for controlling the caching behaviour

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

  • retryConfig RetryConfig? (default ())
  • Retry related options

  • failoverCodes int[] (default [501, 502, 503, 504])
  • Array of HTTP response status codes for which the failover behaviour should be triggered

  • intervalInMillis int (default 0)
  • Failover delay interval in milliseconds