You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pseudo code:
loop {
let resp=client.execute(request);
//custom policy
if current_time="2023-11-11"{
continue;
}
break;
}
if want retry like this,request must clone, request has no clone method
Activity
xj524598 commentedon Dec 13, 2023
even request has clone() method, i think it may cost expansive.
if we can use send_request method,we can get request from ClientError