Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions ballerina/commons.bal
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ public final UnsubscriptionDeniedError UNSUBSCRIPTION_DENIED_ERROR = error Unsub
# + poolConfig - Configurations associated with request pooling
# + auth - Configurations related to client authentication
# + retryConfig - Configurations associated with retrying
# + proxy - Proxy server settings if requests need to go through a proxy
# + responseLimits - Configurations associated with inbound response size limits
# + secureSocket - SSL/TLS related options
# + circuitBreaker - Configurations associated with the behaviour of the Circuit Breaker
Expand All @@ -368,6 +369,7 @@ public type ClientConfiguration record {|
http:PoolConfiguration poolConfig?;
http:ClientAuthConfig auth?;
http:RetryConfig retryConfig?;
http:ProxyConfig? proxy = ();
http:ResponseLimitConfigs responseLimits = {};
http:ClientSecureSocket secureSocket?;
http:CircuitBreakerConfig circuitBreaker?;
Expand All @@ -392,11 +394,12 @@ isolated function retrieveHttpClientConfig(ClientConfiguration config) returns h
http1Settings: config.http1Settings,
http2Settings: config.http2Settings,
timeout: config.timeout,
poolConfig: config?.poolConfig,
auth: config?.auth,
retryConfig: config?.retryConfig,
poolConfig: config.poolConfig,
auth: config.auth,
retryConfig: config.retryConfig,
proxy: config.proxy,
responseLimits: config.responseLimits,
secureSocket: config?.secureSocket,
circuitBreaker: config?.circuitBreaker
secureSocket: config.secureSocket,
circuitBreaker: config.circuitBreaker
};
}
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- [Allow `http:ProxyConfig` for the clients in the `websubhub` module](https://github.com/ballerina-platform/ballerina-library/issues/8496)

## [1.14.0] - 2025-03-05

### Changed
- [Introduce dynamic parameter order for the `websubhub:Service` remote methods](https://github.com/ballerina-platform/ballerina-library/issues/7600)

Expand Down