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

Class: XML_RPC2_Util_HTTPRequest

Source Location: /XML_RPC2-1.1.2/XML/RPC2/Util/HTTPRequest.php

Class Overview


XML_RPC utility HTTP request class. This class mimics a subset of PEAR's HTTP_Request and is to be refactored out of the package once HTTP_Request releases an E_STRICT version.


Author(s):

Copyright:

  • 2004-2011 Sergio Carvalho

Methods


Inherited Variables

Inherited Methods


Class Details

[line 59]
XML_RPC utility HTTP request class. This class mimics a subset of PEAR's HTTP_Request and is to be refactored out of the package once HTTP_Request releases an E_STRICT version.


[ Top ]


Method Detail

__construct (Constructor)   [line 164]

XML_RPC2_Util_HTTPRequest __construct( [string $uri = ''], [array $params = array()])

Constructor

Sets up the object

  • Access: public

Parameters:

string   $uri   —  The uri to fetch/access
array   $params   —  Associative array of parameters which can have the following keys:
  • proxy - Proxy (string)
  • encoding - The request encoding (string)
  • sslverify
  • connectionTimeout
  • httpRequest

[ Top ]

getBody   [line 128]

string getBody( )

body field getter
  • Return: body value
  • Access: public

[ Top ]

sendRequest   [line 206]

mixed sendRequest( )

Sends the request
  • Return: PEAR error on error, true otherwise
  • Access: public

[ Top ]

setPostData   [line 141]

void setPostData( string $value)

postData field setter
  • Access: public

Parameters:

string   $value   —  postData value

[ Top ]


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