src/Vimeo/Vimeo.php
public function setProxy(string $proxy_address, string $proxy_port = null, string $proxy_userpwd = null): void
    {
        $this->CURL_DEFAULTS[CURLOPT_PROXY] = $proxy_address;
        if ($proxy_port) {
            $this->CURL_DEFAULTS[CURLOPT_PROXYPORT] = $proxy_port;
        }

        if ($proxy_userpwd) {
            $this->CURL_DEFAULTS[CURLOPT_PROXYUSERPWD] = $proxy_userpwd;
        }
    }
public function setProxy(string $proxy_address, string $proxy_port = null, string $proxy_userpwd = null): void
    {
        $this->CURL_DEFAULTS[CURLOPT_PROXY] = $proxy_address;
        if ($proxy_port) {
            $this->CURL_DEFAULTS[CURLOPT_PROXYPORT] = $proxy_port;
        }

        if ($proxy_userpwd) {
            $this->CURL_DEFAULTS[CURLOPT_PROXYUSERPWD] = $proxy_userpwd;
        }
    }
public function setProxy ( string $ proxy_address , string $ proxy_port = null , string $ proxy_userpwd = null ) : void { $ this -> CURL_DEFAULTS [ CURLOPT_PROXY ] = $ proxy_address ; if ( $ proxy_port ) { $ this -> CURL_DEFAULTS [ CURLOPT_PROXYPORT ] = $ proxy_port ; } if ( $ proxy_userpwd ) { $ this -> CURL_DEFAULTS [ CURLOPT_PROXYUSERPWD ] = $ proxy_userpwd ; } }
Set a proxy to pass all API requests through.

@param string $proxy_address Mandatory address of proxy.
@param string|null $proxy_port Optional number of port.
@param string|null $proxy_userpwd Optional `user:password` authentication.
Set a proxy to pass all API requests through .