elasticsearch\Connection httpRequest()

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
doc_Yii
2016-10-30 17:01:49
Comments
Leave a Comment

Please login to continue.