|
static | execute ($ch, $retries=5, $closeAfterDone=true) |
| Executes a CURL request with optional retries and exception on failure. More...
|
|
Definition at line 14 of file Util.php.
◆ execute()
static Monolog\Handler\Curl\Util::execute |
( |
|
$ch, |
|
|
|
$retries = 5 , |
|
|
|
$closeAfterDone = true |
|
) |
| |
|
static |
◆ $retriableErrorCodes
Monolog\Handler\Curl\Util::$retriableErrorCodes |
|
staticprivate |
Initial value: CURLE_COULDNT_RESOLVE_HOST,
CURLE_COULDNT_CONNECT,
CURLE_HTTP_NOT_FOUND,
CURLE_READ_ERROR,
CURLE_OPERATION_TIMEOUTED,
CURLE_HTTP_POST_ERROR,
CURLE_SSL_CONNECT_ERROR,
)
Definition at line 16 of file Util.php.
The documentation for this class was generated from the following file:
- libs/composer/vendor/monolog/monolog/src/Monolog/Handler/Curl/Util.php