-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Is your feature request related to a problem?
Hi there 👋
I’m wondering if there are any plans to support DNS-over-HTTPS (DoH) in CPR.
Since libcurl already provides this feature via the CURLOPT_DOH_URL
option (or --doh-url in the CLI), it would be great if CPR could expose it through its own API.
For example:
cpr::Session session;
session.SetOption(cpr::DohUrl{"https://dns.google/dns-query"});
Is this something that’s currently on the roadmap, or would you be open to a pull request implementing it?
Thanks a lot for maintaining CPR — it’s a fantastic wrapper around libcurl and really improves usability 🙌
Possible Solution
I’d be happy to look into contributing this feature if it’s not already planned.
Alternatives
No response
Additional Context
No response