• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/httpclient.php
  • Класс: BitrixMainWebHttpClient
  • Вызов: HttpClient::createQueue
protected function createQueue(bool $backgroundJob = true)
{
	if ($this->useCurl)
	{
		return new HttpCurlQueue($backgroundJob);
	}
	return new HttpSocketQueue($backgroundJob);
}