HPCloud-PHP
1.2.0
PHP bindings for HPCloud and OpenStack services.
|
Provide an HTTP client (Transporter) for interaction with HPCloud. More...
Static Public Member Functions | |
static | instance () |
Get an instance of a Transporter. | |
static | reset () |
Rebuild the transporter. |
Static Protected Attributes | |
static | $inst = NULL |
Provide an HTTP client (Transporter) for interaction with HPCloud.
Interaction with the OpenStack/HPCloud services is handled via HTTPS/REST requests. This class provides transport for requests.
Usage
Definition at line 48 of file Transport.php.
|
static |
Get an instance of a Transporter.
See HPCloud::Transport::CURLTransport and HPCloud::Transport::PHPStreamTransport for implementations of an HPCloud::Transport::Transporter.
To set the transport, the suggested method is this:
HPCloud::Transport::Transporter |
Definition at line 78 of file Transport.php.
|
static |
Rebuild the transporter.
This will rebuild the client transporter, re-reading any configuration data in the process.
Definition at line 93 of file Transport.php.
|
staticprotected |
Definition at line 50 of file Transport.php.