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

File: Request.php

Source Location: /HTTP_Request-1.4.4/Request.php

Classes:

HTTP_Request
Class for performing HTTP requests
HTTP_Response
Response class to complement the Request class

Page Details:

Class for performing HTTP requests

PHP versions 4 and 5

LICENSE:

Copyright (c) 2002-2007, Richard Heyes All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Includes:

require_once('Net/URL.php') [line 58]
URL handling class
require_once('PEAR.php') [line 50]
PEAR and PEAR_Error classes (for error handling)
require_once('Net/Socket.php') [line 54]
Socket class

HTTP_REQUEST_ERROR_FILE [line 75]

HTTP_REQUEST_ERROR_FILE = 1
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_GZIP_CRC [line 83]

HTTP_REQUEST_ERROR_GZIP_CRC = 256
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_GZIP_DATA [line 82]

HTTP_REQUEST_ERROR_GZIP_DATA = 128
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_GZIP_METHOD [line 80]

HTTP_REQUEST_ERROR_GZIP_METHOD = 32
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_GZIP_READ [line 81]

HTTP_REQUEST_ERROR_GZIP_READ = 64
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_PROXY [line 77]

HTTP_REQUEST_ERROR_PROXY = 4
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_REDIRECTS [line 78]

HTTP_REQUEST_ERROR_REDIRECTS = 8
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_RESPONSE [line 79]

HTTP_REQUEST_ERROR_RESPONSE = 16
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_ERROR_URL [line 76]

HTTP_REQUEST_ERROR_URL = 2
Constants for HTTP request error codes

[ Top ]



HTTP_REQUEST_HTTP_VER_1_0 [line 89]

HTTP_REQUEST_HTTP_VER_1_0 = '1.0',true
Constants for HTTP protocol versions

[ Top ]



HTTP_REQUEST_HTTP_VER_1_1 [line 90]

HTTP_REQUEST_HTTP_VER_1_1 = '1.1',true
Constants for HTTP protocol versions

[ Top ]



HTTP_REQUEST_MBSTRING [line 97]

HTTP_REQUEST_MBSTRING = true
Whether string functions are overloaded by their mbstring equivalents

[ Top ]



HTTP_REQUEST_METHOD_DELETE [line 67]

HTTP_REQUEST_METHOD_DELETE = 'DELETE',true
Constants for HTTP request methods

[ Top ]



HTTP_REQUEST_METHOD_GET [line 63]

HTTP_REQUEST_METHOD_GET = 'GET',true
Constants for HTTP request methods

[ Top ]



HTTP_REQUEST_METHOD_HEAD [line 64]

HTTP_REQUEST_METHOD_HEAD = 'HEAD',true
Constants for HTTP request methods

[ Top ]



HTTP_REQUEST_METHOD_OPTIONS [line 68]

HTTP_REQUEST_METHOD_OPTIONS = 'OPTIONS',true
Constants for HTTP request methods

[ Top ]



HTTP_REQUEST_METHOD_POST [line 65]

HTTP_REQUEST_METHOD_POST = 'POST',true
Constants for HTTP request methods

[ Top ]



HTTP_REQUEST_METHOD_PUT [line 66]

HTTP_REQUEST_METHOD_PUT = 'PUT',true
Constants for HTTP request methods

[ Top ]



HTTP_REQUEST_METHOD_TRACE [line 69]

HTTP_REQUEST_METHOD_TRACE = 'TRACE',true
Constants for HTTP request methods

[ Top ]



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