src/Net/HTTP/Reader.php
public function setUserAgent( $string )
	{
		if( empty( $string ) )
			throw new InvaligArgumentException( 'Must be set' );
		$this->curl->setOption( CURLOPT_USERAGENT, $string );
	}
public function setUserAgent( $string )
	{
		if( empty( $string ) )
			throw new InvaligArgumentException( 'Must be set' );
		$this->curl->setOption( CURLOPT_USERAGENT, $string );
	}
public function setUserAgent ( $ string ) { if ( empty ( $ string ) ) throw new InvaligArgumentException ( 'Must be set' ) ; $ this -> curl -> setOption ( CURLOPT_USERAGENT , $ string ) ; }
Sets User Agent.
@access		public
@param		string		$string		User Agent to set
@return		void
Sets User Agent .