concrete/src/Http/Client/Factory.php
protected function getOptions(Repository $config)
    {
        $result = $config->get('app.http_client');
        if (!is_array($result)) {
            $result = [];
        }
        $result['proxyhost'] = $config->get('concrete.proxy.host');
        $result['proxyport'] = $config->get('concrete.proxy.port');
        $result['proxyuser'] = $config->get('concrete.proxy.user');
        $result['proxypass'] = $config->get('concrete.proxy.password');

        return $result;
    }
protected function getOptions(Repository $config)
    {
        $result = $config->get('app.http_client');
        if (!is_array($result)) {
            $result = [];
        }
        $result['proxyhost'] = $config->get('concrete.proxy.host');
        $result['proxyport'] = $config->get('concrete.proxy.port');
        $result['proxyuser'] = $config->get('concrete.proxy.user');
        $result['proxypass'] = $config->get('concrete.proxy.password');

        return $result;
    }
protected function getOptions ( Repository $ config ) { $ result = $ config -> get ( 'app.http_client' ) ; if ( ! is_array ( $ result ) ) { $ result = [ ] ; } $ result [ 'proxyhost' ] = $ config -> get ( 'concrete.proxy.host' ) ; $ result [ 'proxyport' ] = $ config -> get ( 'concrete.proxy.port' ) ; $ result [ 'proxyuser' ] = $ config -> get ( 'concrete.proxy.user' ) ; $ result [ 'proxypass' ] = $ config -> get ( 'concrete.proxy.password' ) ; return $ result ; }
Read the HTTP Client configuration.

@param Repository $config

@return array {
@var bool $sslverifypeer [always]
@var string $proxyhost [optional]
@var int $proxyport [optional]
@var string $proxyuser [optional]
@var string $proxypass [optional]
... and all other options set in app.curl
}
Read the HTTP Client configuration .