-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Can't create or modify hyper::client::connect::Destination #1564
Copy link
Copy link
Closed
Labels
A-clientArea: client.Area: client.B-rfcBlocked: More comments would be useful in determine next steps.Blocked: More comments would be useful in determine next steps.
Description
I'm trying to write a connector that takes a destination, modifies it and passes it to the next connector. It seems this is currently not possible because there's no way to get a mutable reference to the internal state and only hyper can create new Destination objects.
My usecase is having a custom dns resolver as a Connector that resolves the domain before passing it to the final HttpConnector that creates the connection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.B-rfcBlocked: More comments would be useful in determine next steps.Blocked: More comments would be useful in determine next steps.