Documentation

setRedirect

void public
\Bitrix\Main\Web\HttpClient::setRedirect(
 boolean $value,
 null|integer $max = null
);

Non-static method sets redirect options.

Parameters

ParameterDescriptionVersion
$valueWhen true, executes a redirect (true by default).
$maxMaximum possible number of redirects.

Example



© «Bitrix24», 2001-2024
Up