sendRequest() protected method
Sends request to the server
protected array|string sendRequest ( $url, $method = 'GET', $params = [] ) | ||
---|---|---|
$url | string |
Request URL. |
$method | string |
Request method. |
$params | array |
Request parameters. |
return | array|string |
Response. |
throws | yii\base\Exception |
on failure. |
Please login to continue.