previousHTTP_Client::setDefaultHeader() (Previous) (Next) HTTP_Client::setRequestParameter()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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 )

Description

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.

Parameter

integer $value

Max number of redirects to process

Throws

throws no exceptions thrown

Note

This function can not be called statically.

previousHTTP_Client::setDefaultHeader() (Previous) (Next) HTTP_Client::setRequestParameter()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.