PHP Classes
elePHPant
Icontem

PHP HTTP object client: Send HTTP requests and process responses

Recommend this page to a friend!
  Info   View files Documentation   View files View files (74)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-06-09 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 525 All time: 5,396 This week: 1,068Up
Version License PHP version Categories
object-http-client 0.5.1GNU General Publi...5.4Networking, HTTP, PHP 5, Security
Description Author

This package can send HTTP requests and process the responses.

It can send GET and POST requests to a server of a given URL. POST requests may submit forms input values including files, or send raw data. PUT requests may be emulated with the POST method using the X-HTTP-Method-Override header.

Request headers may be defined manually or set automatically by the package.

It can also send multiple requests consecutively without reading the intermediate request responses, keeping the connections alive between requests.

Cookies may be sent and received by a separate cookie handler class.

A separate HTTP response class can process the server response after eventually follow request redirects.

Picture of Norbert Kiszka
  Performance   Level  
Name: Norbert Kiszka <contact>
Classes: 2 packages by
Country: Poland Poland

  Files folder image Files  
File Role Description
Files folder imagelib (6 files, 9 directories)
Files folder imagevar (1 directory)
Accessible without login Plain text file http_client_example.php Example Basic usage of http client - get, parse (XMLReader) and display latest entries from phpclasses rss repository (CLI)
Accessible without login HTML file http_client_howto.htm Doc. How-to in html with examples included
Accessible without login Plain text file ChangeLog.txt Data Change log
Accessible without login Plain text file http_client_TODO.txt Data To-do list
Accessible without login Plain text file LICENSE.txt Lic. GPL v2 License

  Files folder image Files  /  lib  
File Role Description
Files folder imageDate (1 file)
Files folder imageDomain (1 file, 1 directory)
Files folder imageFile (1 directory)
Files folder imageFS (1 file)
Files folder imageHttp (9 files, 8 directories)
Files folder imageResolver (1 file)
Files folder imageSettings (1 file)
Files folder imageSocket (3 files, 1 directory)
Files folder imageUrl (1 file)
  Plain text file Date.php Class Date handling library
  Plain text file ExceptionBase.php Class Base exception class
  Plain text file FS.php Class File-System operations library
  Plain text file Resolver.php Class DNS resolver
  Plain text file String.php Class String library
  Plain text file Url.php Class Url object (see and use Http_Url instead this one)

  Files folder image Files  /  lib  /  Date  
File Role Description
  Plain text file Exception.php Class Exception for Date class

  Files folder image Files  /  lib  /  Domain  
File Role Description
Files folder imagePublicSuffixList (1 file)
  Plain text file PublicSuffixList.php Class Domain public suffix list

  Files folder image Files  /  lib  /  Domain  /  PublicSuffixList  
File Role Description
  Plain text file Exception.php Class Domain public suffix list - exception class

  Files folder image Files  /  lib  /  File  
File Role Description
Files folder imageStorage (1 file)

  Files folder image Files  /  lib  /  File  /  Storage  
File Role Description
  Plain text file Abstract.php Class Abstract class for storaging files (ex. for caching something)

  Files folder image Files  /  lib  /  FS  
File Role Description
  Plain text file Exception.php Class File-System operations library - exception class

  Files folder image Files  /  lib  /  Http  
File Role Description
Files folder imageClient (7 files, 4 directories)
Files folder imageCookie (5 files, 3 directories)
Files folder imageEngine (1 file)
Files folder imageRequest (4 files, 1 directory)
Files folder imageResolver (2 files)
Files folder imageResponse (4 files, 1 directory)
Files folder imageSettings (2 files)
Files folder imageUrl (1 file)
  Plain text file Client.php Class Modificable http client class (http communication frontend)
  Plain text file Cookie.php Class Cookie object class
  Plain text file Exception.php Class Http base exception class
  Plain text file Request.php Class Modificable http request class (API frontend)
  Plain text file Resolver.php Class DNS resolver (modificable class)
  Plain text file Response.php Class Response object (modificable class)
  Plain text file Settings.php Class Http client settings (modificable class)
  Plain text file Storage.php Class Class used to handle storage files
  Plain text file Url.php Class Url object used in Http client (Http_Url extends Url)

  Files folder image Files  /  lib  /  Http  /  Client  
File Role Description
Files folder imageCache (1 file)
Files folder imageConnection (1 file, 1 directory)
Files folder imageHistory (1 file)
Files folder imageRequestHandler (1 file)
  Plain text file Base.php Class Base http client class
  Plain text file Cache.php Class Http client - http cache helper
  Plain text file Connection.php Class Connection helper
  Plain text file Debug.php Class Debugging handler (used only when enabled in settings)
  Plain text file Exception.php Class Exception for Http_Client class
  Plain text file History.php Class Http client - history handler
  Plain text file RequestHandler.php Class Http client - request handler

  Files folder image Files  /  lib  /  Http  /  Client  /  Cache  
File Role Description
  Plain text file Exception.php Class Http client - cache handler - exception class

  Files folder image Files  /  lib  /  Http  /  Client  /  Connection  
File Role Description
Files folder imageHandler (1 file)
  Plain text file Handler.php Class http connection handler (helper for Http_Client)

  Files folder image Files  /  lib  /  Http  /  Client  /  Connection  /  Handler  
File Role Description
  Plain text file Exception.php Class Exception class for connection handler

  Files folder image Files  /  lib  /  Http  /  Client  /  History  
File Role Description
  Plain text file Exception.php Class Http client - history handler - exception class

  Files folder image Files  /  lib  /  Http  /  Client  /  RequestHandler  
File Role Description
  Plain text file Exception.php Class Http client - request handler - exception class

  Files folder image Files  /  lib  /  Http  /  Cookie  
File Role Description
Files folder imageHandler (2 files)
Files folder imageParser (1 file)
Files folder imageProxy (2 files)
  Plain text file Compiler.php Class Cookie string compiler
  Plain text file Exception.php Class Exception class for cookie object
  Plain text file Handler.php Class Cookie handler
  Plain text file Parser.php Class Cookie strings parser
  Plain text file Proxy.php Class Cookie proxy (described in how-to)

  Files folder image Files  /  lib  /  Http  /  Cookie  /  Handler  
File Role Description
  Plain text file Exception.php Class Exception for cookie handler
  Plain text file Interface.php Class Interface for cookie handler

  Files folder image Files  /  lib  /  Http  /  Cookie  /  Parser  
File Role Description
  Plain text file Exception.php Class Exception class for cookie parser

  Files folder image Files  /  lib  /  Http  /  Cookie  /  Proxy  
File Role Description
  Plain text file Exception.php Class Exception class for cookie proxy
  Plain text file Interface.php Class Interface for cookie proxy

  Files folder image Files  /  lib  /  Http  /  Engine  
File Role Description
  Plain text file Detection.php Class Http client (browser) engine detection from user-agent string

  Files folder image Files  /  lib  /  Http  /  Request  
File Role Description
Files folder imageData (2 files, 1 directory)
  Plain text file Base.php Class Request object class (API) - base class
  Plain text file Data.php Class Request data
  Plain text file Exception.php Class Exception class for request objects
  Plain text file Interface.php Class Interface for request class

  Files folder image Files  /  lib  /  Http  /  Request  /  Data  
File Role Description
Files folder imageFile (1 file)
  Plain text file Exception.php Class Exception class request data
  Plain text file File.php Class Request data - file (multipart/form-data)

  Files folder image Files  /  lib  /  Http  /  Request  /  Data  /  File  
File Role Description
  Plain text file Exception.php Class Exception class for request data file class

  Files folder image Files  /  lib  /  Http  /  Resolver  
File Role Description
  Plain text file Base.php Class DNS resolver (base class)
  Plain text file Exception.php Class Exception class for http dns resolver

  Files folder image Files  /  lib  /  Http  /  Response  
File Role Description
Files folder imageParser (2 files)
  Plain text file Base.php Class Http response object class (base class)
  Plain text file Exception.php Class Exception class for response
  Plain text file Interface.php Class Interface for response class
  Plain text file Parser.php Class Response parser (modificable class)

  Files folder image Files  /  lib  /  Http  /  Response  /  Parser  
File Role Description
  Plain text file Base.php Class Http response parser (base class)
  Plain text file Exception.php Class Exception class for response parser

  Files folder image Files  /  lib  /  Http  /  Settings  
File Role Description
  Plain text file Base.php Class Http client settings (base class)
  Plain text file Exception.php Class Exception class for settings class

  Files folder image Files  /  lib  /  Http  /  Url  
File Role Description
  Plain text file Exception.php Class Exception class for Http_Url

  Files folder image Files  /  lib  /  Resolver  
File Role Description
  Plain text file Exception.php Class Exception class for DNS resolver

  Files folder image Files  /  lib  /  Settings  
File Role Description
  Plain text file Abstract.php Class Abstract class for making settings classes

  Files folder image Files  /  lib  /  Socket  
File Role Description
Files folder imageClient (1 file)
  Plain text file Exception.php Class Exception class for socket adapters
  Plain text file Factory.php Class Socket factory
  Plain text file Interface.php Class Interface for socket adapters

  Files folder image Files  /  lib  /  Socket  /  Client  
File Role Description
  Plain text file Stream.php Class stream_socket_client() adapter

  Files folder image Files  /  lib  /  Url  
File Role Description
  Plain text file Exception.php Class Exception class for Url

  Files folder image Files  /  var  
File Role Description
Files folder imagespool (1 directory)

  Files folder image Files  /  var  /  spool  
File Role Description
Files folder imagetld (1 file)

  Files folder image Files  /  var  /  spool  /  tld  
File Role Description
  Accessible without login Plain text file effective_tld_names.dat Data TLD effective list

 Version Control Unique User Downloads Download Rankings  
 0%
Total:525
This week:0
All time:5,396
This week:1,068Up