src/Net/HTTP/Reader.php
public function setBasicAuth( $username, $password )
	{
		$this->curl->setOption( CURLOPT_HTTPAUTH, CURLAUTH_BASIC );
		$this->curl->setOption( CURLOPT_USERPWD, $username.":".$password );
	}
public function setBasicAuth( $username, $password )
	{
		$this->curl->setOption( CURLOPT_HTTPAUTH, CURLAUTH_BASIC );
		$this->curl->setOption( CURLOPT_USERPWD, $username.":".$password );
	}
public function setBasicAuth ( $ username , $ password ) { $ this -> curl -> setOption ( CURLOPT_HTTPAUTH , CURLAUTH_BASIC ) ; $ this -> curl -> setOption ( CURLOPT_USERPWD , $ username . ":" . $ password ) ; }
Set Username and Password for Basic Auth.
@access		public
@param		string		$username	Basic Auth Username
@param		string		$password	Basic Auth Password
@return		void
Set Username and Password for Basic Auth .