• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/google/httpquery.php
  • Класс: BitrixCalendarSyncGoogleHttpQuery
  • Вызов: HttpQuery::query
public function query(string $method, string $url, $body = null): void
{
	$this->client->query($method, $url, $body);

	if ($this->logger)
	{
		$this->logger->write([
			'requestParams' => $body,
			'url' => $url,
			'method' => $method,
			'statusCode' => $this->client->getStatus(),
			'response' => $this->prepareResponseForDebug($this->client->getResult()),
			'error' => $this->prepareErrorForDebug($this->client->getResult()),
		]);
	}
}