Hazaar\Http
Client
Summary
MethodsPropertiesConstants
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)
applyCookies()
applyCookies($request)
auth()
auth($username, $password)
authorisation()
authorisation($auth)
authorization()
authorization($auth)
cacheCookie()
cacheCookie($cache, $cache_all = false)
delete()
delete($url)
deleteCookie()
deleteCookie($name)
disableRedirect()
disableRedirect()
enableEncryption()
enableEncryption($key = null, $cipher = null)
get()
get($uri, $redirect_limit = 10, $offset = 1, $maxlen = null)
getCookie()
getCookie($name)
getCookies()
getCookies()
getLastError()
getLastError()
head()
head($uri, $redirect_limit = 10)
options()
options($uri)
post()
post($uri, $data = null, $datatype = null, $redirect_limit = 0)
put()
put($uri, $data = null, $datatype = null)
send()
send($request, $redirect_limit = 10)
setCookie()
setCookie($cookie)
setHeader()
setHeader($header, $value)
trace()
trace($url)
uncacheCookie()
uncacheCookie($cache)