get() public method
Performs GET HTTP request
public mixed get ( $url, $options = [], $body = null, $raw = false ) | ||
---|---|---|
$url | string|array |
URL |
$options | array |
URL options |
$body | string |
Request body |
$raw | boolean |
If response body contains JSON and should be decoded |
return | mixed |
Response |
throws | yii\elasticsearch\Exception | |
throws | yii\base\InvalidConfigException |
Please login to continue.