[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-includes/SimplePie/HTTP/ -> Parser.php (summary)

SimplePie A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution.

Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: http://www.opensource.org/licenses/bsd-license.php BSD License
Version: 1.3.1
File Size: 500 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SimplePie_HTTP_Parser:: (17 methods):

Class: SimplePie_HTTP_Parser  - X-Ref

HTTP Response Parser

__construct($data)   X-Ref
Create an instance of the class with the input data

param: string $data Input data

parse()   X-Ref
Parse the input data

return: bool true on success, false on failure

has_data()   X-Ref
Check whether there is data beyond the pointer

return: bool true if there is further data, false if not

is_linear_whitespace()   X-Ref
See if the next character is LWS

return: bool true if the next character is LWS, false if not

http_version()   X-Ref
Parse the HTTP version

status()   X-Ref
Parse the status code

reason()   X-Ref
Parse the reason phrase

new_line()   X-Ref
Deal with a new line, shifting data around as needed

name()   X-Ref
Parse a header name

linear_whitespace()   X-Ref
Parse LWS, replacing consecutive LWS characters with a single space

value()   X-Ref
See what state to move to while within non-quoted header values

value_char()   X-Ref
Parse a header value while outside quotes

quote()   X-Ref
See what state to move to while within quoted header values

quote_char()   X-Ref
Parse a header value while within quotes

quote_escaped()   X-Ref
Parse an escaped character within quotes

body()   X-Ref
Parse the body

chunked()   X-Ref
Parsed a "Transfer-Encoding: chunked" body

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1