Used for fetching remote files and reading local files
Supports HTTP 1.0 via cURL or fsockopen, with spotty HTTP 1.1 support
This class can be overloaded with \SimplePie::set_file_class()
| package | SimplePie |
|---|---|
| subpackage | HTTP |
| todo | Move to properly supporting RFC2616 (HTTP/1.1) |
__construct($url, $timeout= 10, $redirects= 5, $headers= null, $useragent= null, $force_fsockopen= false)
$body
$error
$headers
array()$method
SIMPLEPIE_FILE_SOURCE_NONE$redirects
0$status_code
$success
true$url
$useragent