public __construct ( string $description, string $url, string $method, array $params, array $options = [], integer $timeout = 2 ) | ||
$description | string | Test description |
$url | string | Server URL |
$method | string | Method name |
$params | array | Method parameters |
$options | array | Request options |
$timeout | integer | Timeout |
public function __construct(string $description, string $url, string $method, array $params, array $options = [], int $timeout = 2)
{
parent::__construct($description);
$this->url = $url;
$this->method = $method;
$this->params = $params;
$this->options = $options;
$this->timeout = $timeout;
}