HTTP_Client::setMaxRedirects()

HTTP_Client::setMaxRedirects() -- Sets the maximum number of redirects that will be processed.

Synopsis

require_once 'HTTP/Client.php';

void HTTP_Client::setMaxRedirects (int $value)

Описание

Setting this value to 0 disables redirect processing. If it is not 0 and the number of redirects after a request is bigger than this number, then an error will be raised.

Параметр

integer $value

Max number of redirects to process

Throws

throws no exceptions thrown

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ