public function info($name = null)
	{
		if ($name)
		{
			return $this->info ?
			$this->info[$name] :
			curl_getinfo($this->curl, "CURLINFO".strtoupper($name));
		}
		else
		{
			return $this->info ?: curl_getinfo($this->curl);
		}
	}
public function info($name = null)
	{
		if ($name)
		{
			return $this->info ?
			$this->info[$name] :
			curl_getinfo($this->curl, "CURLINFO".strtoupper($name));
		}
		else
		{
			return $this->info ?: curl_getinfo($this->curl);
		}
	}
public function info ( $ name = null ) { if ( $ name ) { return $ this -> info ? $ this -> info [ $ name ] : curl_getinfo ( $ this -> curl , "CURLINFO" . strtoupper ( $ name ) ) ; } else { return $ this -> info ? : curl_getinfo ( $ this -> curl ) ; } }
Get session info

@param string $name if set return associated information

@return array|string
Get session info