public __construct ( string $url, array $auth = null ) | ||
$url | string | server url |
$auth | array | information of http basic auth |
public function __construct($url, array $auth = null)
{
$this->url = $url;
$this->auth = $auth;
}