HTTP Response Parser
package | SimplePie |
---|---|
subpackage | HTTP |
__construct(string $data)
string
Input data
parse() : boolean
boolean
true on success, false on failurebody()
chunked()
has_data() : boolean
boolean
true if there is further data, false if nothttp_version()
is_linear_whitespace() : boolean
boolean
true if the next character is LWS, false if notlinear_whitespace()
name()
new_line()
quote()
quote_char()
quote_escaped()
reason()
status()
value()
value_char()
$body : string
''
$headers : array
array()
$http_version : float
0.0
$reason : string
''
$status_code : integer
0
$data : string
''
$data_length : integer
0
$name : string
''
$position : integer
0
$state : string
'http_version'
$value : string
''