• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/httprequest.php
  • Класс: BitrixMainHttpRequest
  • Вызов: HttpRequest::__construct
public function __construct(Server $server, array $queryString, array $postData, array $files, array $cookies)
{
	$request = array_merge($queryString, $postData);
	parent::__construct($server, $request);

	$this->queryString = new TypeParameterDictionary($queryString);
	$this->postData = new TypeParameterDictionary($postData);
	$this->files = new TypeParameterDictionary($files);
	$this->cookiesRaw = new TypeParameterDictionary($cookies);
	$this->cookies = new TypeParameterDictionary($this->prepareCookie($cookies));
	$this->headers = $this->buildHttpHeaders($server);
	$this->jsonData = new TypeParameterDictionary();
}