HTTP base class
This class is a base class to provide common methods to the following subclasses:
Located in Program_Root/Protocol/Protocol_HTTP_Base.php (line 38)
Protocol | --Protocol_HTTP_Base
| Class | Description |
|---|---|
| Protocol_CURL | CURL class |
| Protocol_HTTP | HTTP class |
Host
client http version
Max header lines - maximum number of headers a response can contain (default: 128)
Max line lenght - maximum length of header lines (default: 4096)
peer http version (default: 1.0)
Port (default: 80)
Inherited from Protocol
Protocol::$error_number
Protocol::$error_string
Protocol::$scheme
Protocol::$ua
Format request
optional (proxy should be specified as a URL object, eg. http://proxy_user:proxy_pass@proxy_host.com:8080)
HTTP version - get/set
new value
Max header lines - get/set
new value
Max line length - get/set
new value
Peer HTTP version - get/set
new value
Inherited From Protocol
Protocol::Protocol()
Protocol::collect()
Protocol::create()
Protocol::get_error_number()
Protocol::get_error_string()
Protocol::has_error()
Protocol::implementor()
Protocol::is_error_connect()
Protocol::is_error_parse()
Protocol::is_error_read()
Protocol::is_error_timeout()
Protocol::is_error_write()
Protocol::set_error_number()
Protocol::set_error_string()
Documention generated on Wed, 16 Jul 2003 01:03:54 +0100 by phpDocumentor 1.2.0