function setUserAgent($useragent = null)
    {
        $this->userAgent = $useragent;
        curl_setopt($this->ch, CURLOPT_USERAGENT, $useragent);
    }
function setUserAgent($useragent = null)
    {
        $this->userAgent = $useragent;
        curl_setopt($this->ch, CURLOPT_USERAGENT, $useragent);
    }
function setUserAgent ( $ useragent = null ) { $ this -> userAgent = $ useragent ; curl_setopt ( $ this -> ch , CURLOPT_USERAGENT , $ useragent ) ; }
Set client's useragent
@param string $useragent
@access public
Set client s useragent