void public
\Bitrix\Main\Web\HttpClient::setRedirect(
boolean $value,
null|integer $max = null
);
Non-static method sets redirect options.
Parameters
Parameter | Description | Version |
$value | When true, executes a redirect (true by default). | |
$max | Maximum possible number of redirects. | |
Example