DNS lookup
#3284
Replies: 1 comment
-
You probably want to use reqwest, which does have a resolve options. It will use keep-alive automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am moving from js to rust.
With the JS HTTPs module, there is a way to set up a lookup function in http connection and thereby, with any domain, I can specify the IP ( the usecase is cloudflare , which matches multiple IPs to a domain but I want only connect one ).
Can I do this with hyper?
In addition, how do I enable "keepalive"? Just add the header?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions