PEAR Manual
Prev
Chapter 32. HTTP
Next
HTTP_Client
Table of Contents
Class Summary
HTTP_Client
-- A simple HTTP client class.
constructor HTTP_Client::HTTP_Client()
-- Constructor
HTTP_Client::attach()
-- Adds a
Listener
to the list of listeners that are notified of the object's events
HTTP_Client::currentResponse()
-- Returns the most recent HTTP response
HTTP_Client::detach()
-- Removes a
Listener
from the list of listeners
HTTP_Client::get()
-- Sends a 'GET' HTTP request
HTTP_Client::head()
-- Sends a 'HEAD' HTTP request
HTTP_Client::post()
-- Sends a 'POST' HTTP request
HTTP_Client::reset()
-- Clears object's internal properties
HTTP_Client::setDefaultHeader()
-- Sets default header(s) for HTTP requests
HTTP_Client::setMaxRedirects()
-- Sets the maximum number of redirects that will be processed.
HTTP_Client::setRequestParameter()
-- Sets parameter(s) for HTTP requests
Class Summary
HTTP_Client_CookieManager
-- Stores cookies and passes them between HTTP requests.
constructor HTTP_Client_CookieManager::HTTP_Client_CookieManager()
-- Constructor
HTTP_Client_CookieManager::addCookie()
-- Explicitly adds cookie to the list
HTTP_Client_CookieManager::passCookies()
-- Adds cookies to the request
HTTP_Client_CookieManager::reset()
-- Clears the cookies list
HTTP_Client_CookieManager::updateCookies()
-- Updates cookie list from HTTP server response
Prev
Home
Next
HTTP::redirect
Up
Class Summary
HTTP_Client