📜  Laravel Http 客户端重试请求失败 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:01.950000             🧑  作者: Mango

代码示例1
$response = Http::retry(retry times 2, retry delay in seconds 2)->get('https://' . Auth::user()->api_key . ':' . Auth::user()->api_password . '@' . Auth::user()->api_domain . '/admin/api/2021-07/products.json?limit=100&page_info=' . $page . '');