mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Clarify documentation for Curl::setRetry() and MultiCurl::setRetry()
This commit is contained in:
+7
-2
@@ -1136,8 +1136,13 @@ class Curl
|
||||
/**
|
||||
* Set Retry
|
||||
*
|
||||
* Number of retries to attempt or decider callable. Maximum number of
|
||||
* attempts is $maximum_number_of_retries + 1.
|
||||
* Number of retries to attempt or decider callable.
|
||||
*
|
||||
* When using a number of retries to attempt, the maximum number of attempts
|
||||
* for the request is $maximum_number_of_retries + 1.
|
||||
*
|
||||
* When using a callable decider, the request will be retried until the
|
||||
* function returns a value which evaluates to false.
|
||||
*
|
||||
* @access public
|
||||
* @param $mixed
|
||||
|
||||
@@ -672,8 +672,13 @@ class MultiCurl
|
||||
/**
|
||||
* Set Retry
|
||||
*
|
||||
* Number of retries to attempt or decider callable. Maximum number of
|
||||
* attempts is $maximum_number_of_retries + 1.
|
||||
* Number of retries to attempt or decider callable.
|
||||
*
|
||||
* When using a number of retries to attempt, the maximum number of attempts
|
||||
* for the request is $maximum_number_of_retries + 1.
|
||||
*
|
||||
* When using a callable decider, the request will be retried until the
|
||||
* function returns a value which evaluates to false.
|
||||
*
|
||||
* @access public
|
||||
* @param $mixed
|
||||
|
||||
Reference in New Issue
Block a user