\Hazaar\Http
Client
Summary
Methods Properties Constants
get
put
No constants
Properties
$auth
$auth
$auto_redirect
$auto_redirect
$buffer_size
$buffer_size
$cert_passphrase
$cert_passphrase
$connection_timeout
$connection_timeout
$cookies
$cookies
$debug
$debug
$encryption_cipher
$encryption_cipher
Static
$encryption_default_cipher
$encryption_default_cipher
Static
$encryption_default_key
$encryption_default_key
Static
$encryption_header
$encryption_header
$encryption_key
$encryption_key
$headers
$headers
$lasterror
$lasterror
$local_cert
$local_cert
$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

applyCookies()
applyCookies($request)

Parameters

$request\Request

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, $cache_all = false)

Parameters

$cache\Hazaar\Cache

No description

$cache_all

No description

delete()
delete($url)

Parameters

$url

No description

deleteCookie()
deleteCookie($name)

Parameters

$name

No description

disableRedirect()
disableRedirect()
enableEncryption()
enableEncryption($key = null, $cipher = null)

Parameters

$key

No description

$cipher

No description

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

Parameters

$uri

No description

$redirect_limit

No description

$offset

No description

$maxlen

No description

getCookie()
getCookie($name)

Parameters

$name

No description

getCookies()
getCookies()
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\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