Tariqa SOAP
 All Data Structures Namespaces Files Functions Variables Enumerations
WebRequest Class Reference

Public Member Functions

 __construct ($url, $query=false, $cookies=false, $method=self::HTTP_GET, $follow_redirect=true)

Data Fields

const HTTP_GET = "get"
const HTTP_POST = "post"
const HTTP_HEAD = "head"
 $url
 $cookies
 $query
 $method
 $follow_redirect

Detailed Description

Request object used by the Tariqa::fetchUrl() operation

See also:
Tariqa::fetchUrl

Constructor & Destructor Documentation

__construct ( url,
query = false,
cookies = false,
method = self::HTTP_GET,
follow_redirect = true 
)

Default constructor

Parameters:
string$urlUrl
Pair[]$query An array of Pair containing the request arguments
Pair[]$cookies
Returns:
WebRequest

Field Documentation

$cookies
$follow_redirect
$method
$query
$url
const HTTP_GET = "get"

HTTP GET method

const HTTP_HEAD = "head"

HTTP HEAD method

const HTTP_POST = "post"

HTTP POST method


The documentation for this class was generated from the following file: