src/Guzzle/Http/Client.php
public function setDefaultOption($keyOrPath, $value)
    {
        $keyOrPath = self::REQUEST_OPTIONS . '/' . $keyOrPath;
        $this->config->setPath($keyOrPath, $value);

        return $this;
    }
public function setDefaultOption($keyOrPath, $value)
    {
        $keyOrPath = self::REQUEST_OPTIONS . '/' . $keyOrPath;
        $this->config->setPath($keyOrPath, $value);

        return $this;
    }
public function setDefaultOption ( $ keyOrPath , $ value ) { $ keyOrPath = self :: REQUEST_OPTIONS . '/' . $ keyOrPath ; $ this -> config -> setPath ( $ keyOrPath , $ value ) ; return $ this ; }
Set a default request option on the client that will be used as a default for each request

@param string $keyOrPath request.options key (e.g. allow_redirects) or path to a nested key (e.g. headers/foo)
@param mixed  $value     Value to set

@return $this
Set a default request option on the client that will be used as a default for each request