📅  最后修改于: 2022-03-11 14:54:31.575000             🧑  作者: Mango
use Illuminate\Support\Facades\Http;
// The retry method accepts two arguments:
// (1st) the maximum number of times the request should be attempted
// (2nd) the number of milliseconds that Laravel should wait in between attempts:
$response = Http::retry(3, 100)->post(...);