Previous Page
setHeader()

Solar_Http_Request_Adapter_Stream
setMaxRedirects()

Next Page
setMethod()

setMaxRedirects()

public Solar_Http_Request_Adapter setMaxRedirects ( int $max )

When making the request, allow no more than this many redirects.

Inherited from Solar_Http_Request_Adapter.

Parameters

  • (int) $max: The max number of redirects to allow.

Returns

  • (Solar_Http_Request_Adapter) This adapter object.

Description

When making the request, allow no more than this many redirects.