π―Retrying Requests
Configuring our connector
class ForgeConnector extends Connector
{
public ?int $tries = 3;
}$forgeConnector = new ForgeConnector;
$response = $forgeConnector->send(new UnreliableRequest);What does Saloon consider a failed request?
Intervals
Exponential Backoff
Exceptions
Customising the request before the next retry
Using the sendAndRetry method
Last updated