Is it possible to clone/copy/refer a request? #2968
Unanswered
frederikhors
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this code and I would like to understand if there is another way to avoid re-creating each time the
reqvariable.Is it possible to clone/copy/refer it in the
retryfunction?If I move the line
let req = Request::builder().uri("http://localhost").body(Body::empty()).unwrap()outside the closurehypercomplains.Beta Was this translation helpful? Give feedback.
All reactions