Element index for package HTTP_Request2
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ g ]
[ h ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ u ]
[ v ]
[ w ]
[ _ ]
top
a
- $adapter
- in file Request2.php, variable HTTP_Request2::$adapter
Adapter used to perform actual HTTP request
- $auth
- in file Request2.php, variable HTTP_Request2::$auth
Authentication data
- addCookie
- in file Request2.php, method HTTP_Request2::addCookie()
Appends a cookie to "Cookie:" header
- addPostParameter
- in file Request2.php, method HTTP_Request2::addPostParameter()
Adds POST parameter(s) to the request.
- addResponse
- in file Mock.php, method HTTP_Request2_Adapter_Mock::addResponse()
Adds response to the queue
- addUpload
- in file Request2.php, method HTTP_Request2::addUpload()
Adds a file to form-based file upload
- appendBody
- in file Response.php, method HTTP_Request2_Response::appendBody()
Appends a string to the response body
- attach
- in file Request2.php, method HTTP_Request2::attach()
Attaches a new observer
- AUTH_BASIC
- in file Request2.php, class constant HTTP_Request2::AUTH_BASIC
Constants for HTTP authentication schemes
- AUTH_DIGEST
- in file Request2.php, class constant HTTP_Request2::AUTH_DIGEST
Constants for HTTP authentication schemes
- Adapter.php
- procedural page Adapter.php
top
top
c
- $chunkLength
- in file Socket.php, variable HTTP_Request2_Adapter_Socket::$chunkLength
Remaining length of the current chunk, when reading chunked response
- $code
- in file Response.php, variable HTTP_Request2_Response::$code
Status code
- $config
- in file Request2.php, variable HTTP_Request2::$config
Configuration parameters
- $contentLength
- in file Adapter.php, variable HTTP_Request2_Adapter::$contentLength
Length of the request body
- $cookies
- in file Response.php, variable HTTP_Request2_Response::$cookies
Cookies set in the response
- calculateRequestLength
- in file Adapter.php, method HTTP_Request2_Adapter::calculateRequestLength()
Calculates length of the request body, adds proper headers
- callbackReadBody
- in file Curl.php, method HTTP_Request2_Adapter_Curl::callbackReadBody()
Callback function called by cURL for reading the request body
- callbackWriteBody
- in file Curl.php, method HTTP_Request2_Adapter_Curl::callbackWriteBody()
Callback function called by cURL for saving the response body
- callbackWriteHeader
- in file Curl.php, method HTTP_Request2_Adapter_Curl::callbackWriteHeader()
Callback function called by cURL for saving the response headers
- connect
- in file Socket.php, method HTTP_Request2_Adapter_Socket::connect()
Connects to the remote server
- createAuthHeader
- in file Socket.php, method HTTP_Request2_Adapter_Socket::createAuthHeader()
Creates the value for '[Proxy-]Authorization:' header
- createCurlHandle
- in file Curl.php, method HTTP_Request2_Adapter_Curl::createCurlHandle()
Creates a new cURL handle and populates it with data from the request
- createResponseFromFile
- in file Mock.php, method HTTP_Request2_Adapter_Mock::createResponseFromFile()
Creates a new HTTP_Request2_Response object from a file
- createResponseFromString
- in file Mock.php, method HTTP_Request2_Adapter_Mock::createResponseFromString()
Creates a new HTTP_Request2_Response object from a string
- Curl.php
- procedural page Curl.php
top
top
top
g
- getAuth
- in file Request2.php, method HTTP_Request2::getAuth()
Returns the authentication data
- getBody
- in file Response.php, method HTTP_Request2_Response::getBody()
Returns the body of the response
- getBody
- in file Request2.php, method HTTP_Request2::getBody()
Returns the request body
- getBoundary
- in file MultipartBody.php, method HTTP_Request2_MultipartBody::getBoundary()
Returns the boundary to use in Content-Type header
- getConfigValue
- in file Request2.php, method HTTP_Request2::getConfigValue()
Returns the value of the configuration parameter
- getCookies
- in file Response.php, method HTTP_Request2_Response::getCookies()
Returns cookies set in response
- getHeader
- in file Response.php, method HTTP_Request2_Response::getHeader()
Returns either the named header or all response headers
- getHeaders
- in file Request2.php, method HTTP_Request2::getHeaders()
Returns the request headers
- getInfo
- in file Curl.php, method HTTP_Request2_Adapter_Curl::getInfo()
Returns information about last transfer
- getLastEvent
- in file Request2.php, method HTTP_Request2::getLastEvent()
Returns the last event
- getLength
- in file MultipartBody.php, method HTTP_Request2_MultipartBody::getLength()
Returns the length of the body to use in Content-Length header
- getMethod
- in file Request2.php, method HTTP_Request2::getMethod()
Returns the request method
- getReasonPhrase
- in file Response.php, method HTTP_Request2_Response::getReasonPhrase()
Returns the reason phrase
- getStatus
- in file Response.php, method HTTP_Request2_Response::getStatus()
Returns the status code
- getUrl
- in file Request2.php, method HTTP_Request2::getUrl()
Returns the request URL
- getVersion
- in file Response.php, method HTTP_Request2_Response::getVersion()
Get the HTTP version of the response
top
h
- $headerMap
- in file Curl.php, variable HTTP_Request2_Adapter_Curl::$headerMap
Mapping of header names to cURL options
- $headers
- in file Response.php, variable HTTP_Request2_Response::$headers
Associative array of response headers
- $headers
- in file Request2.php, variable HTTP_Request2::$headers
Request headers
- HTTP_Request2
- in file Request2.php, class HTTP_Request2
Class representing a HTTP request
- HTTP_Request2_Adapter
- in file Adapter.php, class HTTP_Request2_Adapter
Base class for HTTP_Request2 adapters
- HTTP_Request2_Adapter_Curl
- in file Curl.php, class HTTP_Request2_Adapter_Curl
Adapter for HTTP_Request2 wrapping around cURL extension
- HTTP_Request2_Adapter_Mock
- in file Mock.php, class HTTP_Request2_Adapter_Mock
Mock adapter intended for testing
- HTTP_Request2_Adapter_Socket
- in file Socket.php, class HTTP_Request2_Adapter_Socket
Socket-based adapter for HTTP_Request2
- HTTP_Request2_Exception
- in file Exception.php, class HTTP_Request2_Exception
Exception class for HTTP_Request2 package
- HTTP_Request2_MultipartBody
- in file MultipartBody.php, class HTTP_Request2_MultipartBody
Class for building multipart/form-data request body
- HTTP_Request2_Response
- in file Response.php, class HTTP_Request2_Response
Class representing a HTTP response
top
top
top
top
o
- $observers
- in file Request2.php, variable HTTP_Request2::$observers
Observers attached to the request (instances of SplObserver)
top
top
r
- $reasonPhrase
- in file Response.php, variable HTTP_Request2_Response::$reasonPhrase
Reason phrase
- $request
- in file Adapter.php, variable HTTP_Request2_Adapter::$request
Request being sent
- $requestBody
- in file Adapter.php, variable HTTP_Request2_Adapter::$requestBody
Request body
- $requestHeaders
- in file Curl.php, variable HTTP_Request2_Adapter_Curl::$requestHeaders
Request headers, needed only for notifying the observers
- $response
- in file Curl.php, variable HTTP_Request2_Adapter_Curl::$response
Response being received
- $responses
- in file Mock.php, variable HTTP_Request2_Adapter_Mock::$responses
A queue of responses to be returned by sendRequest()
- Response.php
- procedural page Response.php
- Request2.php
- procedural page Request2.php
- read
- in file MultipartBody.php, method HTTP_Request2_MultipartBody::read()
Returns next chunk of request body
- readChunked
- in file Socket.php, method HTTP_Request2_Adapter_Socket::readChunked()
Reads a part of response body encoded with chunked Transfer-Encoding
- readLine
- in file Socket.php, method HTTP_Request2_Adapter_Socket::readLine()
Reads until either the end of the socket or a newline, whichever comes first
- readResponse
- in file Socket.php, method HTTP_Request2_Adapter_Socket::readResponse()
Reads the remote server's response
- rewind
- in file MultipartBody.php, method HTTP_Request2_MultipartBody::rewind()
Sets the current position to the start of the body
top
s
- $socket
- in file Socket.php, variable HTTP_Request2_Adapter_Socket::$socket
Connected socket
- $sockets
- in file Socket.php, variable HTTP_Request2_Adapter_Socket::$sockets
Connected sockets, needed for Keep-Alive support
- Socket.php
- procedural page Socket.php
- send
- in file Request2.php, method HTTP_Request2::send()
Sends the request and returns the response
- sendRequest
- in file Adapter.php, method HTTP_Request2_Adapter::sendRequest()
Sends request to the remote server and returns its response
- sendRequest
- in file Curl.php, method HTTP_Request2_Adapter_Curl::sendRequest()
Sends request to the remote server and returns its response
- sendRequest
- in file Mock.php, method HTTP_Request2_Adapter_Mock::sendRequest()
Returns the next response from the queue built by addResponse()
- sendRequest
- in file Socket.php, method HTTP_Request2_Adapter_Socket::sendRequest()
Sends request to the remote server and returns its response
- setAdapter
- in file Request2.php, method HTTP_Request2::setAdapter()
Sets the adapter used to actually perform the request
- setAuth
- in file Request2.php, method HTTP_Request2::setAuth()
Sets the autentification data
- setBody
- in file Request2.php, method HTTP_Request2::setBody()
Sets the request body
- setConfig
- in file Request2.php, method HTTP_Request2::setConfig()
Sets the configuration parameters
- setHeader
- in file Request2.php, method HTTP_Request2::setHeader()
Sets request header(s)
- setLastEvent
- in file Request2.php, method HTTP_Request2::setLastEvent()
Sets the last event
- setMethod
- in file Request2.php, method HTTP_Request2::setMethod()
Sets the request method
- setUrl
- in file Request2.php, method HTTP_Request2::setUrl()
Sets the URL for this request
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 15:26:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|