ProxyConfig
data class ProxyConfig(val defaultProxyURLConfig: ProxyURLConfig, val proxyURLMappings: List<ProxyURLMapping> = emptyList())
Configuration object that defines how the SDK routes network requests through a forward proxy.
When provided during SDK initialization, this configuration applies globally to all eligible SDK network requests (e.g., tracking pixels, media file downloads).
The proxy behavior is determined by the selected ProxyURLConfig.strategy
Parameters
defaultProxyURLConfig
default ProxyURLConfig used for all network requests
proxyURLMappings
a custom mapping that can configure proxy data for a specific domain.
Constructors
Link copied to clipboard
constructor(defaultProxyURLConfig: ProxyURLConfig, proxyURLMappings: List<ProxyURLMapping> = emptyList())