Documentation

setVersion

void public
\Bitrix\Main\Web\HttpClient::setVersion(
 string $value
);

Non-static method sets HTTP protocol version. Version 1.1 allows fragmented response.

Parameters

ParameterDescriptionVersion
$valueVersion "1.0" or "1.1" (default value "1.0").

Example



© «Bitrix24», 2001-2024