Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel http retry

use IlluminateSupportFacadesHttp;
// 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(...);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #http #retry
ADD COMMENT
Topic
Name
4+6 =