-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AgentBuilder should be clonable #675
Comments
Hi @lefuturiste and welcome to ureq! While I don't object in principle to have The Agent/builder contains: this: middleware: Vec<Box<dyn Middleware>>, There is currently no requirement of
|
One possible way: rather than implementing |
That's a nice idea. Or |
Hello,
For my use case, I need to be able to easily "fork" existing agent and create variant, currently I think this is not possible with this library AFAIK.
One of the way could be by allowing user to clone
ureq:;AgentBuilder
using theClone
trait.Then we can change and have variant without reconstructing the whole AgentBuilder from the start.
Is there is another way to tackle this issue?
The text was updated successfully, but these errors were encountered: