Class SimplePie_HTTP_Parser

Description

HTTP Response Parser

Located in /libraries/simplepie/simplepie.php (line 7871)


	
			
Variable Summary
 string $body
 array $headers
 string $reason
Method Summary
 SimplePie_HTTP_Parser SimplePie_HTTP_Parser (string $data)
 bool parse ()
Variables
string $body = '' (line 7911)

Body of the response

  • access: public
array $headers = array() (line 7903)

Key/value pairs of the headers

  • access: public
float $http_version = 0.0 (line 7879)

HTTP Version

  • access: public
string $reason = '' (line 7895)

Reason phrase

  • access: public
int $status_code = 0 (line 7887)

Status code

  • access: public
Methods
Constructor SimplePie_HTTP_Parser (line 7967)

Create an instance of the class with the input data

  • access: public
SimplePie_HTTP_Parser SimplePie_HTTP_Parser (string $data)
  • string $data: Input data
parse (line 7979)

Parse the input data

  • return: true on success, false on failure
  • access: public
bool parse ()

Documentation generated on Tue, 19 Nov 2013 15:13:49 +0100 by phpDocumentor 1.4.3