π―Retrying Requests
Getting Started
<?php
$forge = new ForgeConnector;
$response = $forge->sendAndRetry(new GetServersRequest, 3, 100);Customising when a retry is attempted
<?php
$forge->sendAndRetry(new GetServersRequest, 3, 100, function ($exception) {
return $exception instanceof FatalRequestException;
});Disabling throwing exceptions
Last updated