Record - http : ClientConfiguration

Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.


  • httpVersion string HTTP_1_1
  • The HTTP version understood by the client

  • 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

  • cache CacheConfig {}
  • HTTP caching related configurations

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

  • retryConfig RetryConfig? ()
  • Configurations associated with Retry