feat: add custom hyper connector support#2879
Open
Dreaming-Codes wants to merge 2 commits into
Open
Conversation
Author
# Conflicts: # src/async_impl/client.rs # src/connect.rs
7e374f0 to
e1f0df3
Compare
Author
|
@seanmonstar Anything missing to merge this? |
|
I have just tried this branch for my use case: an mTLS connection with the private key in an HSM only accessible via a PKCS#11 URI using an OpenSSL Provider. I would love to be able to use reqwest for our applications, happy to help with any validation work if needed! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
custom-hyper-connectorfeature flag that allows users to provide their own hyper-compatible connectorcustom_connector.rs(basic) andtor_arti.rs(Arti Tor client integration)Changes
ClientBuilder::custom_connector()method accepting anyService<Uri>that returns a connection implementingRead + Write + Connectionconnectormodule exporting types needed for custom connector implementationsCloses #1535
Closes #2633
Closes #1321