httpRequest() protected method
Performs HTTP request
protected mixed httpRequest ( $method, $url, $requestBody = null, $raw = false )$method string
Method name $url string
URL $requestBody string
Request body $raw boolean
If response body contains JSON and should be decoded return mixed
If request failed throws yii\elasticsearch\Exception
if request failed throws yii\base\InvalidConfigException