public getTransferInfo ( ) : array | ||
return | array | Information about the curl request. |
public function getTransferInfo()
{
return $this->_transferInfo;
}
protected function requestAuthority(Elastica\Response $response = NULL) { if ($response) { $info = $response->getTransferInfo(); $url = new Nette\Http\Url($info['url']); } else { $url = new Nette\Http\Url(key($this->queries) ?: 'http://localhost:9200/'); } return $url->hostUrl; }