Zend_Gdata_HttpClientGdata Http Client object.
Class to extend the generic Zend Http Client with the ability to perform secure AuthSub requests
Located in /Gdata/HttpClient.php (line 40)
Zend_Http_Client | --Zend_Gdata_HttpClient
array
filterHttpRequest
(string $method, string $url, [array $headers = array()], [string $body = null], [string $contentType = null])
void
setAuthSubPrivateKeyFile
(string $file, [string $passphrase = null], [bool $useIncludePath = false])
bool
$_streamingRequest
= null (line 83)
True if this request is being made with data supplied by a stream object instead of a raw encoded string.
Inherited from Zend_Http_Client
Zend_Http_Client::$adapter
Zend_Http_Client::$auth
Zend_Http_Client::$config
Zend_Http_Client::$cookiejar
Zend_Http_Client::$enctype
Zend_Http_Client::$files
Zend_Http_Client::$headers
Zend_Http_Client::$last_request
Zend_Http_Client::$last_response
Zend_Http_Client::$method
Zend_Http_Client::$paramsGet
Zend_Http_Client::$paramsPost
Zend_Http_Client::$raw_post_data
Zend_Http_Client::$redirectCounter
Zend_Http_Client::$uri
Zend_Http_Client::$_fileInfoDb
filterHttpRequest (line 207)
Filters the HTTP requests being sent to add the Authorization header.
If both AuthSub and ClientLogin tokens are set, AuthSub takes precedence. If an AuthSub key is set, then secure AuthSub authentication is used, and the request is signed. Requests must be signed only with the private key corresponding to the public key registered with Google. If an AuthSub key is set, but openssl support is not enabled in the PHP installation, an exception is thrown.
filterHttpResponse (line 250)
Method for filtering the HTTP response, though no filtering is currently done.
getAdapter (line 259)
Return the current connection adapter
getAuthSubPrivateKeyId (line 142)
Gets the openssl private key id
getAuthSubToken (line 151)
Gets the AuthSub token used for authentication
getClientLoginToken (line 171)
Gets the ClientLogin token used for authentication
getStreamingRequest (line 296)
Check whether the client is set to perform streaming requests.
resetParameters (line 328)
Clear all custom parameters we set.
setAdapter (line 270)
Load the connection adapter
setAuthSubPrivateKey (line 125)
Sets the PEM formatted private key to be used for secure AuthSub auth.
In order to call this method, openssl must be enabled in your PHP installation. Otherwise, a Zend_Gdata_App_InvalidArgumentException will be thrown.
setAuthSubPrivateKeyFile (line 97)
Sets the PEM formatted private key, as read from a file.
This method reads the file and then calls setAuthSubPrivateKey() with the file contents.
setAuthSubToken (line 161)
Sets the AuthSub token used for authentication
setClientLoginToken (line 181)
Sets the ClientLogin token used for authentication
setRawDataStream (line 346)
Set the raw (already encoded) POST data from a stream source.
This is used to support POSTing from open file handles without caching the entire body into memory. It is a wrapper around Zend_Http_Client::setRawData().
setStreamingRequest (line 286)
Set the streamingRequest variable which controls whether we are sending the raw (already encoded) POST data from a stream source.
_prepareBody (line 311)
Prepare the request body (for POST and PUT requests)
Inherited From Zend_Http_Client
Zend_Http_Client::__construct()
Zend_Http_Client::encodeAuthHeader()
Zend_Http_Client::encodeFormData()
Zend_Http_Client::getAdapter()
Zend_Http_Client::getCookieJar()
Zend_Http_Client::getHeader()
Zend_Http_Client::getLastRequest()
Zend_Http_Client::getLastResponse()
Zend_Http_Client::getRedirectionsCount()
Zend_Http_Client::getStream()
Zend_Http_Client::getUri()
Zend_Http_Client::request()
Zend_Http_Client::resetParameters()
Zend_Http_Client::setAdapter()
Zend_Http_Client::setAuth()
Zend_Http_Client::setConfig()
Zend_Http_Client::setCookie()
Zend_Http_Client::setCookieJar()
Zend_Http_Client::setEncType()
Zend_Http_Client::setFileUpload()
Zend_Http_Client::setHeaders()
Zend_Http_Client::setMethod()
Zend_Http_Client::setParameterGet()
Zend_Http_Client::setParameterPost()
Zend_Http_Client::setRawData()
Zend_Http_Client::setStream()
Zend_Http_Client::setUri()
Zend_Http_Client::_detectFileMimeType()
Zend_Http_Client::_flattenParametersArray()
Zend_Http_Client::_getParametersRecursive()
Zend_Http_Client::_openTempStream()
Zend_Http_Client::_prepareBody()
Zend_Http_Client::_prepareHeaders()
Zend_Http_Client::_setParameter()
Inherited from Zend_Http_Client
Zend_Http_Client::AUTH_BASIC
Zend_Http_Client::CONNECT
Zend_Http_Client::CONTENT_LENGTH
Zend_Http_Client::CONTENT_TYPE
Zend_Http_Client::DELETE
Zend_Http_Client::ENC_FORMDATA
Zend_Http_Client::ENC_URLENCODED
Zend_Http_Client::GET
Zend_Http_Client::HEAD
Zend_Http_Client::HTTP_0
Zend_Http_Client::HTTP_1
Zend_Http_Client::MERGE
Zend_Http_Client::OPTIONS
Zend_Http_Client::POST
Zend_Http_Client::PUT
Zend_Http_Client::TRACE
Documentation generated on Mon, 21 Jun 2010 15:27:40 -0400 by phpDocumentor 1.4.3