Support Joomla!

Packages

Package: SimplePie

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class SimplePie_HTTP_Parser

Description

HTTP Response Parser

  • todo: Support HTTP Requests

Located in /simplepie/simplepie.php (line 6749)

Class SimplePie_HTTP_Parser
Variable Summary
Variable string $body
Variable array $headers
Variable string $http_version
Variable string $reason
Variable string $status_code
Method Summary
Constructor SimplePie_HTTP_Parser SimplePie_HTTP_Parser (string $data)
Method bool parse ()
Variables
string $body = '' (line 6789)

Body of the response

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

Key/value pairs of the headers

  • access: public
string $http_version = '' (line 6757)

HTTP Version

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

Reason phrase

  • access: public
string $status_code = '' (line 6765)

Status code

  • access: public
Methods
Constructor SimplePie_HTTP_Parser (line 6845)

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 6857)

Parse the input data

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

Documentation generated on Mon, 22 Sep 2008 12:14:30 +0100 by phpDocumentor 1.3.1