public function setUserAgent($ua)
    {
        $this->configuration->user_agent = $ua;
        $this->addHeader('User-Agent', $ua);

        return $this;
    }
public function setUserAgent($ua)
    {
        $this->configuration->user_agent = $ua;
        $this->addHeader('User-Agent', $ua);

        return $this;
    }
public function setUserAgent ( $ ua ) { $ this -> configuration -> user_agent = $ ua ; $ this -> addHeader ( 'User-Agent' , $ ua ) ; return $ this ; }
Set the client UA for current request
@param string $ua
@return AbstractRequest
Set the client UA for current request