HTTP_Request2
[ class tree: HTTP_Request2 ] [ index: HTTP_Request2 ] [ all elements ]

Element index for package HTTP_Request2

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ v ] [ w ] [ _ ]

_

__construct
in file Request2.php, method HTTP_Request2::__construct()
    Constructor. Can set request URL, method and configuration array.
__construct
in file Response.php, method HTTP_Request2_Response::__construct()
    Constructor, parses the response status line
__construct
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::__construct()
    Class constructor, tries to establish connection
__construct
in file SOCKS5.php, method HTTP_Request2_SOCKS5::__construct()
    Constructor, tries to connect and authenticate to a SOCKS5 proxy
__construct
in file CookieJar.php, method HTTP_Request2_CookieJar::__construct()
    Class constructor, sets various options
__construct
in file Exception.php, method HTTP_Request2_Exception::__construct()
    Constructor, can set package error code and native error code
__construct
in file Log.php, method HTTP_Request2_Observer_Log::__construct()
    Constructor.
__construct
in file MultipartBody.php, method HTTP_Request2_MultipartBody::__construct()
    Constructor. Sets the arrays with POST data.
__destruct
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::__destruct()
    Destructor, disconnects socket
__toString
in file MultipartBody.php, method HTTP_Request2_MultipartBody::__toString()
    Returns the body as string
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
addAuthorizationHeader
in file Socket.php, method HTTP_Request2_Adapter_Socket::addAuthorizationHeader()
    Adds 'Authorization' header (if needed) to request headers array
addCookie
in file Request2.php, method HTTP_Request2::addCookie()
    Adds a cookie to the request
addCookiesFromResponse
in file CookieJar.php, method HTTP_Request2_CookieJar::addCookiesFromResponse()
    Adds cookies set in HTTP response to the jar
addPostParameter
in file Request2.php, method HTTP_Request2::addPostParameter()
    Adds POST parameter(s) to the request.
addProxyAuthorizationHeader
in file Socket.php, method HTTP_Request2_Adapter_Socket::addProxyAuthorizationHeader()
    Adds 'Proxy-Authorization' header (if needed) to request headers array
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

b

$body
in file Response.php, variable HTTP_Request2_Response::$body
    Response body
$body
in file Request2.php, variable HTTP_Request2::$body
    Request body
$bodyDisallowed
in file Adapter.php, variable HTTP_Request2_Adapter::$bodyDisallowed
    A list of methods that MUST NOT have a request body, per RFC 2616
$bodyEncoded
in file Response.php, variable HTTP_Request2_Response::$bodyEncoded
    Whether the body is still encoded by Content-Encoding
$bodyRequired
in file Adapter.php, variable HTTP_Request2_Adapter::$bodyRequired
    Methods having defined semantics for request body
top

c

$challenges
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$challenges
    Data for digest authentication scheme
$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
$connectionWarnings
in file SocketWrapper.php, variable HTTP_Request2_SocketWrapper::$connectionWarnings
    PHP warning messages raised during stream_socket_client() call
$contentLength
in file Adapter.php, variable HTTP_Request2_Adapter::$contentLength
    Length of the request body
$cookieJar
in file Request2.php, variable HTTP_Request2::$cookieJar
    Cookie jar to persist cookies between requests
$cookies
in file Response.php, variable HTTP_Request2_Response::$cookies
    Cookies set in the response
$cookies
in file CookieJar.php, variable HTTP_Request2_CookieJar::$cookies
    Array of stored cookies
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
canKeepAlive
in file Socket.php, method HTTP_Request2_Adapter_Socket::canKeepAlive()
    Checks whether current connection may be reused or should be closed
checkAndUpdateFields
in file CookieJar.php, method HTTP_Request2_CookieJar::checkAndUpdateFields()
    Checks cookie array for correctness, possibly updating its 'domain', 'path' and 'expires' fields
checkDomainsList
in file CookieJar.php, method HTTP_Request2_CookieJar::checkDomainsList()
    Recursive helper method for getRegisteredDomain()
checkTimeout
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::checkTimeout()
    Throws an Exception if stream timed out
connect
in file SOCKS5.php, method HTTP_Request2_SOCKS5::connect()
    Connects to a remote host via proxy
connect
in file Socket.php, method HTTP_Request2_Adapter_Socket::connect()
    Connects to the remote server
connectionWarningsHandler
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::connectionWarningsHandler()
    Error handler to use during stream_socket_client() call
createCurlHandle
in file Curl.php, method HTTP_Request2_Adapter_Curl::createCurlHandle()
    Creates a new cURL handle and populates it with data from the request
createDigestResponse
in file Socket.php, method HTTP_Request2_Adapter_Socket::createDigestResponse()
    Creates a value for [Proxy-]Authorization header when using digest authentication
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
CookieJar.php
procedural page CookieJar.php
top

d

$deadline
in file SocketWrapper.php, variable HTTP_Request2_SocketWrapper::$deadline
    Sum of start time and global timeout, exception will be thrown if request continues past this time
decodeDeflate
in file Response.php, method HTTP_Request2_Response::decodeDeflate()
    Decodes the message-body encoded by deflate
decodeGzip
in file Response.php, method HTTP_Request2_Response::decodeGzip()
    Decodes the message-body encoded by gzip
DECODE_ERROR
in file Exception.php, class constant HTTP_Request2_Exception::DECODE_ERROR
    Failure decoding Content-Encoding or Transfer-Encoding of response
detach
in file Request2.php, method HTTP_Request2::detach()
    Detaches an existing observer
detectMimeType
in file Request2.php, method HTTP_Request2::detectMimeType()
    Tries to detect MIME type of a file
disconnect
in file Socket.php, method HTTP_Request2_Adapter_Socket::disconnect()
    Disconnects from the remote server
domainMatch
in file CookieJar.php, method HTTP_Request2_CookieJar::domainMatch()
    Checks whether a cookie domain matches a request host.
top

e

$effectiveUrl
in file Response.php, variable HTTP_Request2_Response::$effectiveUrl
    Effective URL (may be different from original request URL in case of redirects)
$errorMap
in file Curl.php, variable HTTP_Request2_Adapter_Curl::$errorMap
    Mapping of CURLE_* constants to Exception subclasses and error codes
$eventReceivedHeaders
in file Curl.php, variable HTTP_Request2_Adapter_Curl::$eventReceivedHeaders
    Whether 'receivedHeaders' event was sent to observers
$events
in file Log.php, variable HTTP_Request2_Observer_Log::$events
    The events to log.
$eventSentHeaders
in file Curl.php, variable HTTP_Request2_Adapter_Curl::$eventSentHeaders
    Whether 'sentHeaders' event was sent to observers
$expect100Continue
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$expect100Continue
    Whether to wait for "100 Continue" response before sending request body
enableCrypto
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::enableCrypto()
    Turns on encryption on a socket
eof
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::eof()
    Tests for end-of-file on a socket
establishTunnel
in file Socket.php, method HTTP_Request2_Adapter_Socket::establishTunnel()
    Establishes a tunnel to a secure remote server via HTTP CONNECT request
Exception.php
procedural page Exception.php
top

f

fopenWrapper
in file Request2.php, method HTTP_Request2::fopenWrapper()
    Wrapper around fopen()/fstat() used by setBody() and addUpload()
top

g

getAll
in file CookieJar.php, method HTTP_Request2_CookieJar::getAll()
    Returns all cookies stored in a jar
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
getConfig
in file Request2.php, method HTTP_Request2::getConfig()
    Returns the value(s) of the configuration parameter(s)
getCookieJar
in file Request2.php, method HTTP_Request2::getCookieJar()
    Returns current CookieJar object or null if none
getCookies
in file Response.php, method HTTP_Request2_Response::getCookies()
    Returns cookies set in response
getDefaultReasonPhrase
in file Response.php, method HTTP_Request2_Response::getDefaultReasonPhrase()
    Returns the default reason phrase for the given code or all reason phrases
getEffectiveUrl
in file Response.php, method HTTP_Request2_Response::getEffectiveUrl()
    Returns the effective URL of the 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
getMatching
in file CookieJar.php, method HTTP_Request2_CookieJar::getMatching()
    Returns all cookies matching a given request URL
getMethod
in file Request2.php, method HTTP_Request2::getMethod()
    Returns the request method
getNativeCode
in file Exception.php, method HTTP_Request2_Exception::getNativeCode()
    Returns error code produced by underlying PHP extension
getReasonPhrase
in file Response.php, method HTTP_Request2_Response::getReasonPhrase()
    Returns the reason phrase
getRegisteredDomain
in file CookieJar.php, method HTTP_Request2_CookieJar::getRegisteredDomain()
    Removes subdomains to get the registered domain (the first after top-level)
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 Request2.php, variable HTTP_Request2::$headers
    Request headers
$headers
in file Response.php, variable HTTP_Request2_Response::$headers
    Associative array of response headers
handleRedirect
in file Socket.php, method HTTP_Request2_Adapter_Socket::handleRedirect()
    Handles HTTP redirection
HTTP_Request2
in file Request2.php, class HTTP_Request2
    Class representing a HTTP request message
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_ConnectionException
in file Exception.php, class HTTP_Request2_ConnectionException
    Exception thrown when connection to a web or proxy server fails
HTTP_Request2_CookieJar
in file CookieJar.php, class HTTP_Request2_CookieJar
    Stores cookies and passes them between HTTP requests
HTTP_Request2_Exception
in file Exception.php, class HTTP_Request2_Exception
    Base exception class for HTTP_Request2 package
HTTP_Request2_LogicException
in file Exception.php, class HTTP_Request2_LogicException
    Exception that represents error in the program logic
HTTP_Request2_MessageException
in file Exception.php, class HTTP_Request2_MessageException
    Exception thrown when sending or receiving HTTP message fails
HTTP_Request2_MultipartBody
in file MultipartBody.php, class HTTP_Request2_MultipartBody
    Class for building multipart/form-data request body
HTTP_Request2_NotImplementedException
in file Exception.php, class HTTP_Request2_NotImplementedException
    Exception thrown in case of missing features
HTTP_Request2_Observer_Log
in file Log.php, class HTTP_Request2_Observer_Log
    A debug observer useful for debugging / testing.
HTTP_Request2_Response
in file Response.php, class HTTP_Request2_Response
    Class representing a HTTP response
HTTP_Request2_SocketWrapper
in file SocketWrapper.php, class HTTP_Request2_SocketWrapper
    Socket wrapper class used by Socket Adapter
HTTP_Request2_SOCKS5
in file SOCKS5.php, class HTTP_Request2_SOCKS5
    SOCKS5 proxy connection class (used by Socket Adapter)
top

i

INVALID_ARGUMENT
in file Exception.php, class constant HTTP_Request2_Exception::INVALID_ARGUMENT
    An invalid argument was passed to a method
isRedirect
in file Response.php, method HTTP_Request2_Response::isRedirect()
    Whether response is a redirect that can be automatically handled by HTTP_Request2
top

l

$lastEvent
in file Request2.php, variable HTTP_Request2::$lastEvent
    Last event in request / response handling, intended for observers
$lastHeader
in file Response.php, variable HTTP_Request2_Response::$lastHeader
    Name of last header processed by parseHederLine()
$lastInfo
in file Curl.php, variable HTTP_Request2_Adapter_Curl::$lastInfo
    Information about last transfer, as returned by curl_getinfo()
Log.php
procedural page Log.php
log
in file Log.php, method HTTP_Request2_Observer_Log::log()
    Logs the given message to the configured target.
top

m

$method
in file Request2.php, variable HTTP_Request2::$method
    Request method
Mock.php
procedural page Mock.php
MultipartBody.php
procedural page MultipartBody.php
MALFORMED_RESPONSE
in file Exception.php, class constant HTTP_Request2_Exception::MALFORMED_RESPONSE
    Server returned a response that does not conform to HTTP protocol
METHOD_CONNECT
in file Request2.php, class constant HTTP_Request2::METHOD_CONNECT
    Constants for HTTP request methods
METHOD_DELETE
in file Request2.php, class constant HTTP_Request2::METHOD_DELETE
    Constants for HTTP request methods
METHOD_GET
in file Request2.php, class constant HTTP_Request2::METHOD_GET
    Constants for HTTP request methods
METHOD_HEAD
in file Request2.php, class constant HTTP_Request2::METHOD_HEAD
    Constants for HTTP request methods
METHOD_OPTIONS
in file Request2.php, class constant HTTP_Request2::METHOD_OPTIONS
    Constants for HTTP request methods
METHOD_POST
in file Request2.php, class constant HTTP_Request2::METHOD_POST
    Constants for HTTP request methods
METHOD_PUT
in file Request2.php, class constant HTTP_Request2::METHOD_PUT
    Constants for HTTP request methods
METHOD_TRACE
in file Request2.php, class constant HTTP_Request2::METHOD_TRACE
    Constants for HTTP request methods
MISCONFIGURATION
in file Exception.php, class constant HTTP_Request2_Exception::MISCONFIGURATION
    Request cannot be processed due to errors in PHP configuration
MISSING_VALUE
in file Exception.php, class constant HTTP_Request2_Exception::MISSING_VALUE
    Some required value was not available
top

n

NON_HTTP_REDIRECT
in file Exception.php, class constant HTTP_Request2_Exception::NON_HTTP_REDIRECT
    Redirect to a protocol other than http(s)://
notify
in file Request2.php, method HTTP_Request2::notify()
    Notifies all observers
now
in file CookieJar.php, method HTTP_Request2_CookieJar::now()
    Returns current time formatted in ISO-8601 at UTC timezone
top

o

$observers
in file Request2.php, variable HTTP_Request2::$observers
    Observers attached to the request (instances of SplObserver)
top

p

$phrases
in file Response.php, variable HTTP_Request2_Response::$phrases
    Associative array of HTTP status code / reason phrase.
$position
in file Curl.php, variable HTTP_Request2_Adapter_Curl::$position
    Position within request body
$postParams
in file Request2.php, variable HTTP_Request2::$postParams
    Array of POST parameters
$proxyChallenge
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$proxyChallenge
    Challenge used for proxy digest authentication
$psl
in file CookieJar.php, variable HTTP_Request2_CookieJar::$psl
    Array with Public Suffix List data
parseCookie
in file Response.php, method HTTP_Request2_Response::parseCookie()
    Parses a Set-Cookie header to fill $cookies array
parseDigestChallenge
in file Socket.php, method HTTP_Request2_Adapter_Socket::parseDigestChallenge()
    Extracts digest method challenge from (WWW|Proxy)-Authenticate header value
parseHeaderLine
in file Response.php, method HTTP_Request2_Response::parseHeaderLine()
    Parses the line from HTTP response filling $headers array
performAuthentication
in file SOCKS5.php, method HTTP_Request2_SOCKS5::performAuthentication()
    Performs username/password authentication for SOCKS5
prepareHeaders
in file Socket.php, method HTTP_Request2_Adapter_Socket::prepareHeaders()
    Creates the string with the Request-Line and request headers
top

r

$reasonPhrase
in file Response.php, variable HTTP_Request2_Response::$reasonPhrase
    Reason phrase
$redirectCountdown
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$redirectCountdown
    Remaining amount of redirections to follow
$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
$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
read
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::read()
    Wrapper around fread(), handles global request timeout
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 SocketWrapper.php, method HTTP_Request2_SocketWrapper::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
READ_ERROR
in file Exception.php, class constant HTTP_Request2_Exception::READ_ERROR
    Error reading the local file
REGEXP_INVALID_COOKIE
in file Request2.php, class constant HTTP_Request2::REGEXP_INVALID_COOKIE
    Regular expression used to check for invalid symbols in cookie strings
REGEXP_INVALID_TOKEN
in file Request2.php, class constant HTTP_Request2::REGEXP_INVALID_TOKEN
    Regular expression used to check for invalid symbols in RFC 2616 tokens
REGEXP_QUOTED_STRING
in file Socket.php, class constant HTTP_Request2_Adapter_Socket::REGEXP_QUOTED_STRING
    Regular expression for 'quoted-string' rule from RFC 2616
REGEXP_TOKEN
in file Socket.php, class constant HTTP_Request2_Adapter_Socket::REGEXP_TOKEN
    Regular expression for 'token' rule from RFC 2616
rewind
in file MultipartBody.php, method HTTP_Request2_MultipartBody::rewind()
    Sets the current position to the start of the body
top

s

$serializeSession
in file CookieJar.php, variable HTTP_Request2_CookieJar::$serializeSession
    Whether session cookies should be serialized when serializing the jar
$serverChallenge
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$serverChallenge
    Challenge used for server digest authentication
$socket
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$socket
    Connected socket
$socket
in file SocketWrapper.php, variable HTTP_Request2_SocketWrapper::$socket
    Connected socket
$sockets
in file Socket.php, variable HTTP_Request2_Adapter_Socket::$sockets
    Connected sockets, needed for Keep-Alive support
$sslContextMap
in file Curl.php, variable HTTP_Request2_Adapter_Curl::$sslContextMap
    Mapping of SSL context options to cURL options
Socket.php
procedural page Socket.php
SocketWrapper.php
procedural page SocketWrapper.php
SOCKS5.php
procedural page SOCKS5.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 Socket.php, method HTTP_Request2_Adapter_Socket::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()
serialize
in file CookieJar.php, method HTTP_Request2_CookieJar::serialize()
    Returns string representation of object
serializeSessionCookies
in file CookieJar.php, method HTTP_Request2_CookieJar::serializeSessionCookies()
    Sets whether session cookies should be serialized when serializing the jar
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 parameter(s)
setCookieJar
in file Request2.php, method HTTP_Request2::setCookieJar()
    Sets the cookie jar
setDeadline
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::setDeadline()
    Sets request deadline
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
shouldUseProxyDigestAuth
in file Socket.php, method HTTP_Request2_Adapter_Socket::shouldUseProxyDigestAuth()
    Checks whether another request should be performed with proxy digest auth
shouldUseServerDigestAuth
in file Socket.php, method HTTP_Request2_Adapter_Socket::shouldUseServerDigestAuth()
    Checks whether another request should be performed with server digest auth
store
in file CookieJar.php, method HTTP_Request2_CookieJar::store()
    Stores a cookie in the jar
top

t

$target
in file Log.php, variable HTTP_Request2_Observer_Log::$target
    The log target, it can be a a resource or a PEAR Log instance.
$timeout
in file SocketWrapper.php, variable HTTP_Request2_SocketWrapper::$timeout
    Global timeout value, mostly for exception messages
TIMEOUT
in file Exception.php, class constant HTTP_Request2_Exception::TIMEOUT
    Operation timed out
TOO_MANY_REDIRECTS
in file Exception.php, class constant HTTP_Request2_Exception::TOO_MANY_REDIRECTS
    Number of redirects exceeded 'max_redirects' configuration parameter
top

u

$uploads
in file Request2.php, variable HTTP_Request2::$uploads
    Array of file uploads (for multipart/form-data POST requests)
$url
in file Request2.php, variable HTTP_Request2::$url
    Request URL
$useList
in file CookieJar.php, variable HTTP_Request2_CookieJar::$useList
    Whether Public Suffix List should be used for domain matching
upload-rapidshare.php
procedural page upload-rapidshare.php
unserialize
in file CookieJar.php, method HTTP_Request2_CookieJar::unserialize()
    Constructs the object from serialized string
update
in file Log.php, method HTTP_Request2_Observer_Log::update()
    Called when the request notifies us of an event.
updateChallenge
in file Socket.php, method HTTP_Request2_Adapter_Socket::updateChallenge()
    Parses [Proxy-]Authentication-Info header value and updates challenge
updateExpectHeader
in file Socket.php, method HTTP_Request2_Adapter_Socket::updateExpectHeader()
    Adds or removes 'Expect: 100-continue' header from request headers
usePublicSuffixList
in file CookieJar.php, method HTTP_Request2_CookieJar::usePublicSuffixList()
    Sets whether Public Suffix List should be used for restricting cookie-setting
top

v

$version
in file Response.php, variable HTTP_Request2_Response::$version
    HTTP protocol version (e.g. 1.0, 1.1)
top

w

workaroundPhpBug47204
in file Curl.php, method HTTP_Request2_Adapter_Curl::workaroundPhpBug47204()
    Workaround for PHP bug #47204 that prevents rewinding request body
wrapCurlError
in file Curl.php, method HTTP_Request2_Adapter_Curl::wrapCurlError()
    Creates a subclass of HTTP_Request2_Exception from curl error data
write
in file SocketWrapper.php, method HTTP_Request2_SocketWrapper::write()
    Wrapper around fwrite(), handles global request timeout
writeBody
in file Socket.php, method HTTP_Request2_Adapter_Socket::writeBody()
    Sends the request body
top

Documentation generated on Mon, 11 Mar 2019 15:56:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.