Solar_Http_Request_Adapter_Stream::setMaxRedirects()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter_Stream::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.



Local