pub fn init_global_http_client(config: &PerformanceConfig) -> Result<()>Expand description
Initialize the global HTTP client singleton
§Arguments
config- Performance configuration for connection pool settings
§Errors
Returns an error if HTTP client creation fails
§Note
This function is thread-safe. The first successful initialization wins and is reused by all callers. A failed attempt is not cached: because client creation can fail for transient reasons (e.g. TLS backend or resource pressure), a subsequent call is free to retry and may succeed.