Previous Page
setHeader()

Solar_Http_Request_Adapter
setMaxRedirects()

Next Page
setMethod()

setMaxRedirects()

public Solar_Http_Adapter setMaxRedirects ( int $max )

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

Parameters

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

Returns

  • (Solar_Http_Adapter) This adapter object.

Description

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