## [Zend_Http] element index

### Package indexes

- Zend_Registry
- Zend_Version
- Zend_Validate
- Zend_Loader
- Zend_Uri
- Zend
- Zend_Gdata

All elements
_
top

$_fileInfoDb
  Zend_Http_Client::$_fileInfoDb in Client.php
  Fileinfo magic database resource
_detectFileMimeType
  Zend_Http_Client::_detectFileMimeType() in Client.php
  Attempt to detect the MIME type of a file using available extensions
_flattenParametersArray
  Zend_Http_Client::_flattenParametersArray() in Client.php
  Convert an array of parameters into a flat array of (key, value) pairs
_getParametersRecursive
  Zend_Http_Client::_getParametersRecursive() in Client.php
  Helper method that gets a possibly multi-level parameters array (get or post) and flattens it.
_openTempStream
  Zend_Http_Client::_openTempStream() in Client.php
  Create temporary stream
_prepareBody
  Zend_Http_Client::_prepareBody() in Client.php
  Prepare the request body (for POST and PUT requests)
_prepareHeaders
  Zend_Http_Client::_prepareHeaders() in Client.php
  Prepare the request headers
_setParameter
  Zend_Http_Client::_setParameter() in Client.php
  Set a GET or POST parameter - used by SetParameterGet and SetParameterPost
__construct
  Zend_Http_Client::__construct() in Client.php
  Constructor method. Will create a new HTTP client. Accepts the target URL and optionally configuration array.
$_config
  Zend_Http_Client_Adapter_Curl::$_config in Curl.php
  Parameters array
$_connected_to
  Zend_Http_Client_Adapter_Curl::$_connected_to in Curl.php
  What host/port are we connected to?
$_context
  Zend_Http_Client_Adapter_Socket::$_context in Socket.php
  Stream context
$_curl
  Zend_Http_Client_Adapter_Curl::$_curl in Curl.php
  The curl session handle
$_invalidOverwritableCurlOptions
  Zend_Http_Client_Adapter_Curl::$_invalidOverwritableCurlOptions in Curl.php
  List of cURL options that should never be overwritten
$_nextRequestWillFail
  Zend_Http_Client_Adapter_Test::$_nextRequestWillFail in Test.php
  Wether or not the next request will fail with an exception
$_response
  Zend_Http_Client_Adapter_Curl::$_response in Curl.php
  Response gotten from server
_checkSocketReadTimeout
  Zend_Http_Client_Adapter_Socket::_checkSocketReadTimeout() in Socket.php
  Check if the socket has timed out - if so close connection and throw an exception
__construct
  Zend_Http_Client_Adapter_Test::__construct() in Test.php
  Adapter constructor, currently empty. Config is set using setConfig()
__construct
  Zend_Http_Client_Adapter_Curl::__construct() in Curl.php
  Adapter constructor
__construct
  Zend_Http_Client_Adapter_Socket::__construct() in Socket.php
  Adapter constructor, currently empty. Config is set using setConfig()
__destruct
  Zend_Http_Client_Adapter_Proxy::__destruct() in Proxy.php
  Destructor: make sure the socket is disconnected
__destruct
  Zend_Http_Client_Adapter_Socket::__destruct() in Socket.php
  Destructor: make sure the socket is disconnected
$_cleanup
  Zend_Http_Response_Stream::$_cleanup in Stream.php
  Should we clean up the stream file when this response is closed?
__construct
  Zend_Http_Response_Stream::__construct() in Stream.php
  HTTP response constructor
__construct
  Zend_Http_Response::__construct() in Response.php
  HTTP response constructor
__destruct
  Zend_Http_Response_Stream::__destruct() in Stream.php
__toString
  Zend_Http_Response::__toString() in Response.php
  Implements magic __toString()

a
top

$adapter
  Zend_Http_Client::$adapter in Client.php
  The adapter used to perform the actual connection to the server
$auth
  Zend_Http_Client::$auth in Client.php
  HTTP Authentication settings
AUTH_BASIC
  Zend_Http_Client::AUTH_BASIC in Client.php
  Supported HTTP Authentication methods
addResponse
  Zend_Http_Client_Adapter_Test::addResponse() in Test.php
  Add another response to the response buffer.
asString
  Zend_Http_Response::asString() in Response.php
  Get the entire response as string

b
top

$body
  Zend_Http_Response::$body in Response.php
  The HTTP response body

c
top

$config
  Zend_Http_Client::$config in Client.php
  Configuration array, set using the constructor or using ::setConfig()
$cookiejar
  Zend_Http_Client::$cookiejar in Client.php
  The client's cookie jar
CONNECT
  Zend_Http_Client::CONNECT in Client.php
CONTENT_LENGTH
  Zend_Http_Client::CONTENT_LENGTH in Client.php
CONTENT_TYPE
  Zend_Http_Client::CONTENT_TYPE in Client.php
  Content attributes
Client.php
  Client.php in Client.php
$config
  Zend_Http_Client_Adapter_Socket::$config in Socket.php
  Parameters array
$config
  Zend_Http_Client_Adapter_Test::$config in Test.php
  Parameters array
$config
  Zend_Http_Client_Adapter_Proxy::$config in Proxy.php
  Parameters array
$connected_to
  Zend_Http_Client_Adapter_Socket::$connected_to in Socket.php
  What host/port are we connected to?
close
  Zend_Http_Client_Adapter_Curl::close() in Curl.php
  Close the connection to the server
close
  Zend_Http_Client_Adapter_Interface::close() in Interface.php
  Close the connection to the server
close
  Zend_Http_Client_Adapter_Proxy::close() in Proxy.php
  Close the connection to the server
close
  Zend_Http_Client_Adapter_Test::close() in Test.php
  Close the connection (dummy)
close
  Zend_Http_Client_Adapter_Socket::close() in Socket.php
  Close the connection to the server
connect
  Zend_Http_Client_Adapter_Socket::connect() in Socket.php
  Connect to the remote server
connect
  Zend_Http_Client_Adapter_Test::connect() in Test.php
  Connect to the remote server
connect
  Zend_Http_Client_Adapter_Proxy::connect() in Proxy.php
  Connect to the remote server
connect
  Zend_Http_Client_Adapter_Curl::connect() in Curl.php
  Initialize curl
connect
  Zend_Http_Client_Adapter_Interface::connect() in Interface.php
  Connect to the remote server
connectHandshake
  Zend_Http_Client_Adapter_Proxy::connectHandshake() in Proxy.php
  Preform handshaking with HTTPS proxy using CONNECT method
Curl.php
  Curl.php in Curl.php
$code
  Zend_Http_Response::$code in Response.php
  The HTTP response code

d
top

DELETE
  Zend_Http_Client::DELETE in Client.php
decodeChunkedBody
  Zend_Http_Response::decodeChunkedBody() in Response.php
  Decode a "chunked" transfer-encoded body and return the decoded text
decodeDeflate
  Zend_Http_Response::decodeDeflate() in Response.php
  Decode a zlib deflated message (when Content-encoding = deflate)
decodeGzip
  Zend_Http_Response::decodeGzip() in Response.php
  Decode a gzip encoded message (when Content-encoding = gzip)

e
top

$enctype
  Zend_Http_Client::$enctype in Client.php
  Request body content type (for POST requests)
encodeAuthHeader
  Zend_Http_Client::encodeAuthHeader() in Client.php
  Create a HTTP authentication "Authorization:" header according to the specified user, password and authentication method.
encodeFormData
  Zend_Http_Client::encodeFormData() in Client.php
  Encode data to a multipart/form-data part suitable for a POST request.
ENC_FORMDATA
  Zend_Http_Client::ENC_FORMDATA in Client.php
ENC_URLENCODED
  Zend_Http_Client::ENC_URLENCODED in Client.php
  POST data encoding methods
Exception.php
  Exception.php in Exception.php
Exception.php
  Exception.php in Exception.php
Exception.php
  Exception.php in Exception.php
extractBody
  Zend_Http_Response::extractBody() in Response.php
  Extract the body from a response string
extractCode
  Zend_Http_Response::extractCode() in Response.php
  Extract the response code from a response string
extractHeaders
  Zend_Http_Response::extractHeaders() in Response.php
  Extract the headers from a response string
extractMessage
  Zend_Http_Response::extractMessage() in Response.php
  Extract the HTTP message from a response
extractVersion
  Zend_Http_Response::extractVersion() in Response.php
  Extract the HTTP version from a response

f
top

$files
  Zend_Http_Client::$files in Client.php
  File upload arrays (used in POST requests)
fromStream
  Zend_Http_Response_Stream::fromStream() in Stream.php
  Create a new Zend_Http_Response_Stream object from a string
fromString
  Zend_Http_Response::fromString() in Response.php
  Create a new Zend_Http_Response object from a string

g
top

GET
  Zend_Http_Client::GET in Client.php
  HTTP request methods
getAdapter
  Zend_Http_Client::getAdapter() in Client.php
  Load the connection adapter
getCookieJar
  Zend_Http_Client::getCookieJar() in Client.php
  Return the current cookie jar or null if none.
getHeader
  Zend_Http_Client::getHeader() in Client.php
  Get the value of a specific header
getLastRequest
  Zend_Http_Client::getLastRequest() in Client.php
  Get the last HTTP request as string
getLastResponse
  Zend_Http_Client::getLastResponse() in Client.php
  Get the last HTTP response received by this client
getRedirectionsCount
  Zend_Http_Client::getRedirectionsCount() in Client.php
  Get the number of redirections done on the last request
getStream
  Zend_Http_Client::getStream() in Client.php
  Get status of streaming for received data
getUri
  Zend_Http_Client::getUri() in Client.php
  Get the URI for the next request
getConfig
  Zend_Http_Client_Adapter_Curl::getConfig() in Curl.php
  Retrieve the array of all configuration options
getConfig
  Zend_Http_Client_Adapter_Socket::getConfig() in Socket.php
  Retrieve the array of all configuration options
getHandle
  Zend_Http_Client_Adapter_Curl::getHandle() in Curl.php
  Get cUrl Handle
getStreamContext
  Zend_Http_Client_Adapter_Socket::getStreamContext() in Socket.php
  Get the stream context for the TCP connection to the server.
getBody
  Zend_Http_Response_Stream::getBody() in Stream.php
  Get the response body as string
getBody
  Zend_Http_Response::getBody() in Response.php
  Get the response body as string
getCleanup
  Zend_Http_Response_Stream::getCleanup() in Stream.php
  Get the cleanup trigger
getHeader
  Zend_Http_Response::getHeader() in Response.php
  Get a specific header as string, or null if it is not set
getHeaders
  Zend_Http_Response::getHeaders() in Response.php
  Get the response headers
getHeadersAsString
  Zend_Http_Response::getHeadersAsString() in Response.php
  Get all headers as string
getMessage
  Zend_Http_Response::getMessage() in Response.php
  Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
getRawBody
  Zend_Http_Response::getRawBody() in Response.php
  Get the raw response body (as transfered "on wire") as string
getRawBody
  Zend_Http_Response_Stream::getRawBody() in Stream.php
  Get the raw response body (as transfered "on wire") as string
getStatus
  Zend_Http_Response::getStatus() in Response.php
  Get the HTTP response status code
getStream
  Zend_Http_Response_Stream::getStream() in Stream.php
  Get the response as stream
getStreamName
  Zend_Http_Response_Stream::getStreamName() in Stream.php
  Get file name associated with the stream
getVersion
  Zend_Http_Response::getVersion() in Response.php
  Get the HTTP version of the response

h
top

$headers
  Zend_Http_Client::$headers in Client.php
  Associative array of request headers
HEAD
  Zend_Http_Client::HEAD in Client.php
HTTP_0
  Zend_Http_Client::HTTP_0 in Client.php
HTTP_1
  Zend_Http_Client::HTTP_1 in Client.php
  HTTP protocol versions
$headers
  Zend_Http_Response::$headers in Response.php
  The HTTP response headers array

i
top

Interface.php
  Interface.php in Interface.php
isError
  Zend_Http_Response::isError() in Response.php
  Check whether the response is an error
isRedirect
  Zend_Http_Response::isRedirect() in Response.php
  Check whether the response is a redirection
isSuccessful
  Zend_Http_Response::isSuccessful() in Response.php
  Check whether the response in successful

l
top

$last_request
  Zend_Http_Client::$last_request in Client.php
  The last HTTP request sent by the client, as string
$last_response
  Zend_Http_Client::$last_response in Client.php
  The last HTTP response received by the client

m
top

$method
  Zend_Http_Client::$method in Client.php
  HTTP request method
MERGE
  Zend_Http_Client::MERGE in Client.php
$method
  Zend_Http_Client_Adapter_Socket::$method in Socket.php
  Request method - will be set by write() and might be used by read()
$message
  Zend_Http_Response::$message in Response.php
  The HTTP response code as string (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500)
$messages
  Zend_Http_Response::$messages in Response.php
  List of all known HTTP response codes - used by responseCodeAsText() to translate numeric codes to messages.

n
top

$negotiated
  Zend_Http_Client_Adapter_Proxy::$negotiated in Proxy.php
  Whether HTTPS CONNECT was already negotiated with the proxy or not

o
top

OPTIONS
  Zend_Http_Client::OPTIONS in Client.php
$out_stream
  Zend_Http_Client_Adapter_Socket::$out_stream in Socket.php
  Stream for storing output
$out_stream
  Zend_Http_Client_Adapter_Curl::$out_stream in Curl.php
  Stream for storing output

p
top

$paramsGet
  Zend_Http_Client::$paramsGet in Client.php
  Associative array of GET parameters
$paramsPost
  Zend_Http_Client::$paramsPost in Client.php
  Associative array of POST parameters
POST
  Zend_Http_Client::POST in Client.php
PUT
  Zend_Http_Client::PUT in Client.php
Proxy.php
  Proxy.php in Proxy.php

r
top

$raw_post_data
  Zend_Http_Client::$raw_post_data in Client.php
  The raw post data to send. Could be set by setRawData($data, $enctype).
$redirectCounter
  Zend_Http_Client::$redirectCounter in Client.php
  Redirection counter
request
  Zend_Http_Client::request() in Client.php
  Send the HTTP request and return an HTTP response object
resetParameters
  Zend_Http_Client::resetParameters() in Client.php
  Clear all GET and POST parameters
$responseIndex
  Zend_Http_Client_Adapter_Test::$responseIndex in Test.php
  Current position in the response buffer
$responses
  Zend_Http_Client_Adapter_Test::$responses in Test.php
  Buffer of responses to be returned by the read() method. Can be set using setResponse() and addResponse().
read
  Zend_Http_Client_Adapter_Interface::read() in Interface.php
  Read response from server
read
  Zend_Http_Client_Adapter_Socket::read() in Socket.php
  Read response from server
read
  Zend_Http_Client_Adapter_Curl::read() in Curl.php
  Return read response from server
read
  Zend_Http_Client_Adapter_Test::read() in Test.php
  Return the response set in $this->setResponse()
readHeader
  Zend_Http_Client_Adapter_Curl::readHeader() in Curl.php
  Header reader function for CURL
READ_TIMEOUT
  Zend_Http_Client_Adapter_Exception::READ_TIMEOUT in Exception.php
Response.php
  Response.php in Response.php
readStream
  Zend_Http_Response_Stream::readStream() in Stream.php
  Read stream content and return it as string
responseCodeAsText
  Zend_Http_Response::responseCodeAsText() in Response.php
  A convenience function that returns a text representation of HTTP response codes. Returns 'Unknown' for unknown codes.

s
top

setAdapter
  Zend_Http_Client::setAdapter() in Client.php
  Load the connection adapter
setAuth
  Zend_Http_Client::setAuth() in Client.php
  Set HTTP authentication parameters
setConfig
  Zend_Http_Client::setConfig() in Client.php
  Set configuration parameters for this HTTP client
setCookie
  Zend_Http_Client::setCookie() in Client.php
  Add a cookie to the request. If the client has no Cookie Jar, the cookies will be added directly to the headers array as "Cookie" headers.
setCookieJar
  Zend_Http_Client::setCookieJar() in Client.php
  Set the HTTP client's cookie jar.
setEncType
  Zend_Http_Client::setEncType() in Client.php
  Set the encoding type for POST data
setFileUpload
  Zend_Http_Client::setFileUpload() in Client.php
  Set a file to upload (using a POST request)
setHeaders
  Zend_Http_Client::setHeaders() in Client.php
  Set one or more request headers
setMethod
  Zend_Http_Client::setMethod() in Client.php
  Set the next request's method
setParameterGet
  Zend_Http_Client::setParameterGet() in Client.php
  Set a GET parameter for the request. Wrapper around _setParameter
setParameterPost
  Zend_Http_Client::setParameterPost() in Client.php
  Set a POST parameter for the request. Wrapper around _setParameter
setRawData
  Zend_Http_Client::setRawData() in Client.php
  Set the raw (already encoded) POST data.
setStream
  Zend_Http_Client::setStream() in Client.php
  Set streaming for received data
setUri
  Zend_Http_Client::setUri() in Client.php
  Set the URI for the next request
$socket
  Zend_Http_Client_Adapter_Socket::$socket in Socket.php
  The socket for server connection
Socket.php
  Socket.php in Socket.php
Stream.php
  Stream.php in Stream.php
setConfig
  Zend_Http_Client_Adapter_Socket::setConfig() in Socket.php
  Set the configuration array for the adapter
setConfig
  Zend_Http_Client_Adapter_Test::setConfig() in Test.php
  Set the configuration array for the adapter
setConfig
  Zend_Http_Client_Adapter_Curl::setConfig() in Curl.php
  Set the configuration array for the adapter
setConfig
  Zend_Http_Client_Adapter_Interface::setConfig() in Interface.php
  Set the configuration array for the adapter
setCurlOption
  Zend_Http_Client_Adapter_Curl::setCurlOption() in Curl.php
  Direct setter for cURL adapter related options.
setNextRequestWillFail
  Zend_Http_Client_Adapter_Test::setNextRequestWillFail() in Test.php
  Set the nextRequestWillFail flag
setOutputStream
  Zend_Http_Client_Adapter_Stream::setOutputStream() in Stream.php
  Set output stream
setOutputStream
  Zend_Http_Client_Adapter_Socket::setOutputStream() in Socket.php
  Set output stream for the response
setOutputStream
  Zend_Http_Client_Adapter_Curl::setOutputStream() in Curl.php
  Set output stream for the response
setResponse
  Zend_Http_Client_Adapter_Test::setResponse() in Test.php
  Set the HTTP response(s) to be returned by this adapter
setResponseIndex
  Zend_Http_Client_Adapter_Test::setResponseIndex() in Test.php
  Sets the position of the response buffer. Selects which response will be returned on the next call to read().
setStreamContext
  Zend_Http_Client_Adapter_Socket::setStreamContext() in Socket.php
  Set the stream context for the TCP connection to the server
$stream
  Zend_Http_Response_Stream::$stream in Stream.php
  Response as stream
$stream_name
  Zend_Http_Response_Stream::$stream_name in Stream.php
  The name of the file containing the stream
Stream.php
  Stream.php in Stream.php
setCleanup
  Zend_Http_Response_Stream::setCleanup() in Stream.php
  Set the cleanup trigger
setStream
  Zend_Http_Response_Stream::setStream() in Stream.php
  Set the response stream
setStreamName
  Zend_Http_Response_Stream::setStreamName() in Stream.php
  Set file name associated with the stream

t
top

TRACE
  Zend_Http_Client::TRACE in Client.php
Test.php
  Test.php in Test.php

u
top

$uri
  Zend_Http_Client::$uri in Client.php
  Request URI

v
top

$version
  Zend_Http_Response::$version in Response.php
  The HTTP version (1.0, 1.1)

w
top

write
  Zend_Http_Client_Adapter_Test::write() in Test.php
  Send request to the remote server
write
  Zend_Http_Client_Adapter_Socket::write() in Socket.php
  Send request to the remote server
write
  Zend_Http_Client_Adapter_Proxy::write() in Proxy.php
  Send request to the proxy server
write
  Zend_Http_Client_Adapter_Interface::write() in Interface.php
  Send request to the remote server
write
  Zend_Http_Client_Adapter_Curl::write() in Curl.php
  Send request to the remote server

z
top

Zend_Http_Client
  Zend_Http_Client in Client.php
  Zend_Http_Client is an implementation of an HTTP client in PHP. The client
Zend_Http_Client_Exception
  Zend_Http_Client_Exception in Exception.php
Zend_Http_Exception
  Zend_Http_Exception in Exception.php
Zend_Http_Client_Adapter_Curl
  Zend_Http_Client_Adapter_Curl in Curl.php
  An adapter class for Zend_Http_Client based on the curl extension.
Zend_Http_Client_Adapter_Exception
  Zend_Http_Client_Adapter_Exception in Exception.php
Zend_Http_Client_Adapter_Interface
  Zend_Http_Client_Adapter_Interface in Interface.php
  An interface description for Zend_Http_Client_Adapter classes.
Zend_Http_Client_Adapter_Proxy
  Zend_Http_Client_Adapter_Proxy in Proxy.php
  HTTP Proxy-supporting Zend_Http_Client adapter class, based on the default socket based adapter.
Zend_Http_Client_Adapter_Socket
  Zend_Http_Client_Adapter_Socket in Socket.php
  A sockets based (stream_socket_client) adapter class for Zend_Http_Client. Can be used on almost every PHP environment, and does not require any special extensions.
Zend_Http_Client_Adapter_Stream
  Zend_Http_Client_Adapter_Stream in Stream.php
  An interface description for Zend_Http_Client_Adapter_Stream classes.
Zend_Http_Client_Adapter_Test
  Zend_Http_Client_Adapter_Test in Test.php
  A testing-purposes adapter.
Zend_Http_Response
  Zend_Http_Response in Response.php
  Zend_Http_Response represents an HTTP 1.0 / 1.1 response message. It includes easy access to all the response's different elemts, as well as some convenience methods for parsing and validating HTTP responses.
Zend_Http_Response_Stream
  Zend_Http_Response_Stream in Stream.php
  Zend_Http_Response represents an HTTP 1.0 / 1.1 response message. It includes easy access to all the response's different elemts, as well as some convenience methods for parsing and validating HTTP responses.