Documentation

Options
in package

An Options container for HTTP clients

Table of Contents

$options  : mixed
__construct()  : mixed
getOption()  : mixed
setOption()  : void

Properties

$options

protected mixed $options = ['username' => null, 'password' => null, 'authenticationScheme' => null, 'proxyServer' => null, 'proxyPort' => null, 'proxyType' => \Horde\Http\Constants::PROXY_HTTP, 'proxyUsername' => null, 'proxyPassword' => null, 'proxyAuthenticationScheme' => \Horde\Http\Constants::AUTH_BASIC, 'redirects' => 5, 'timeout' => 5, 'userAgent' => 'Horde\\Http H6', 'verifyPeer' => true]

Methods

__construct()

public __construct([iteratable<string|int, mixed> $param = [] ]) : mixed
Parameters
$param : iteratable<string|int, mixed> = []
Return values
mixed

getOption()

public getOption(string $name) : mixed
Parameters
$name : string
Return values
mixed

setOption()

public setOption(string $name, mixed $value) : void
Parameters
$name : string
$value : mixed
Return values
void

Search results