Record: ClientConfiguration

Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint. Following fields are inherited from the other configuration records in addition to the Client specific configs.

httpVersion - Copied from CommonClientConfiguration
http1Settings - Copied from CommonClientConfiguration
http2Settings - Copied from CommonClientConfiguration
timeout - Copied from CommonClientConfiguration
forwarded - Copied from CommonClientConfiguration
followRedirects - Copied from CommonClientConfiguration
poolConfig - Copied from CommonClientConfiguration
cache - Copied from CommonClientConfiguration
compression - Copied from CommonClientConfiguration
auth - Copied from CommonClientConfiguration
circuitBreaker - Copied from CommonClientConfiguration
retryConfig - Copied from CommonClientConfiguration
cookieConfig - Copied from CommonClientConfiguration
Closed record

Fields

  • Fields Included from *CommonClientConfiguration
    • httpVersion string
    • http1Settings ClientHttp1Settings
    • http2Settings ClientHttp2Settings
    • timeout decimal
    • forwarded string
    • followRedirects ballerina/http:1.1.0-alpha8:FollowRedirects?
    • poolConfig ballerina/http:1.1.0-alpha8:PoolConfiguration?
    • cache CacheConfig
    • compression AUTO|ALWAYS|NEVER
    • auth ballerina/http:1.1.0-alpha8:CredentialsConfig|ballerina/http:1.1.0-alpha8:BearerTokenConfig|ballerina/http:1.1.0-alpha8:JwtIssuerConfig|ballerina/http:1.1.0-alpha8:OAuth2ClientCredentialsGrantConfig|ballerina/http:1.1.0-alpha8:OAuth2PasswordGrantConfig|ballerina/http:1.1.0-alpha8:OAuth2RefreshTokenGrantConfig|()
    • circuitBreaker ballerina/http:1.1.0-alpha8:CircuitBreakerConfig?
    • retryConfig ballerina/http:1.1.0-alpha8:RetryConfig?
    • cookieConfig ballerina/http:1.1.0-alpha8:CookieConfig?
    • responseLimits ResponseLimitConfigs
  • secureSocket ClientSecureSocket?(default ())
  • SSL/TLS related options