|
Previous Page |
Solar_Http_Request_Adapter_Stream |
Next Page |
Properties
Public
$content
(string|array) Content to send along with the request.
Inherited from Solar_Http_Request_Adapter.
If an array, will be encoded with http_build_query() at fetch() time.
Protected
$_Solar_Http_Request_Adapter
(array) User-defined configuration values.
Inherited from Solar_Http_Request_Adapter.
Config keys are ...
$_charset
(string) The character-set for the body content.
Inherited from Solar_Http_Request_Adapter.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_content_type
(string) The content-type for the body content.
Inherited from Solar_Http_Request_Adapter.
$_cookies
(array) Additional cookies to send with the request.
Inherited from Solar_Http_Request_Adapter.
$_headers
(array) Additional headers to send with the request.
Inherited from Solar_Http_Request_Adapter.
$_max_redirects
(int) The maximum number of redirects to allow.
Inherited from Solar_Http_Request_Adapter.
$_method
(string) The HTTP method to use for the request (GET, POST, etc).
Inherited from Solar_Http_Request_Adapter.
$_proxy
(string) Pass all HTTP requests through this proxy.
Inherited from Solar_Http_Request_Adapter.
$_ssl_cafile
(string) Location of Certificate Authority file on local filesystem which should be used with the $_ssl_verify_peer option to authenticate the identity of the remote peer.
Inherited from Solar_Http_Request_Adapter.
$_ssl_capath
(string) If $_ssl_cafile is not specified or if the certificate is not found there, this directory path is searched for a suitable certificate.
Inherited from Solar_Http_Request_Adapter.
The path must be a correctly hashed certificate directory.
$_ssl_local_cert
(string) Path to local certificate file on filesystem.
Inherited from Solar_Http_Request_Adapter.
This must be a PEM encoded file which contains your certificate and private key. It can optionally contain the certificate chain of issuers.
$_ssl_passphrase
(string) Passphrase with which the $_ssl_local_cert file was encoded.
Inherited from Solar_Http_Request_Adapter.
$_ssl_verify_peer
(bool) Require verification of SSL certificate used?
Inherited from Solar_Http_Request_Adapter.
$_timeout
(string) Let the request time out after this many seconds.
Inherited from Solar_Http_Request_Adapter.
$_uri
(Solar_Uri) The URI for the request.
Inherited from Solar_Http_Request_Adapter.
$_user_agent
(string) The User-Agent header value to send.
Inherited from Solar_Http_Request_Adapter.
$_version
(string) The HTTP protocol version to use (1.0 or 1.1).
Inherited from Solar_Http_Request_Adapter.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _exception()
- _fetch()
- _parseCookie()
- _prepareContext()
- _prepareRequest()
- apiVersion()
- dump()
- fetch()
- fetchRaw()
- getContent()
- getOptions()
- locale()
- setBasicAuth()
- setCharset()
- setContent()
- setContentType()
- setCookie()
- setHeader()
- setMaxRedirects()
- setMethod()
- setProxy()
- setSslCafile()
- setSslCapath()
- setSslLocalCert()
- setSslPassphrase()
- setSslVerifyPeer()
- setTimeout()
- setUri()
- setUserAgent()
- setVersion()