\Hazaar\Http
Client
Summary
Methods Properties Constants
get
put
No constants
Properties
$auth
$auth
$auto_redirect
$auto_redirect
$buffer_size
$buffer_size
$connection_timeout
$connection_timeout
$context
$context
$cookie
$cookie
$debug
$debug
$headers
$headers
$lasterror
$lasterror
$password
$password
$redirect_methods
$redirect_methods
$username
$username
Methods
__construct()
__construct($local_cert = null, $passphrase = null, $debug = false)

Parameters

$local_cert

No description

$passphrase

No description

$debug

No description

auth()
auth($username, $password)

Parameters

$username

No description

$password

No description

authorisation()
authorisation($auth)

Parameters

$auth\Hazaar\Auth\Adapter

No description

authorization()
authorization($auth)

Parameters

$auth\Hazaar\Auth\Adapter

No description

cacheCookie()
cacheCookie($cache)

Parameters

$cache\Hazaar\Cache

No description

delete()
delete($url)

Parameters

$url

No description

disableRedirect()
disableRedirect()
get()
get($uri, $redirect_limit = 10, $offset = 1, $maxlen = null)

Parameters

$uri

No description

$redirect_limit

No description

$offset

No description

$maxlen

No description

getLastError()
getLastError()
head()
head($uri, $redirect_limit = 10)

Parameters

$uri

No description

$redirect_limit

No description

options()
options($uri)

Parameters

$uri

No description

post()
post($uri, $data = null, $datatype = null, $redirect_limit = 0)

Parameters

$uri

No description

$data

No description

$datatype

No description

$redirect_limit

No description

put()
put($uri, $data = null, $datatype = null)

Parameters

$uri

No description

$data

No description

$datatype

No description

send()
send($request, $redirect_limit = 10)

Parameters

$request\Hazaar\Http\Request

No description

$redirect_limit

No description

setCookie()
setCookie($cookie)

Parameters

$cookie

No description

setHeader()
setHeader($header, $value)

Parameters

$header

No description

$value

No description

trace()
trace($url)

Parameters

$url

No description

uncacheCookie()
uncacheCookie($cache)

Parameters

$cache\Hazaar\Cache

No description