easy:SetOpt_DoH_URL(URL)
libcurl does not validate the syntax or use this variable until the transfer is
issued. Even if you get a crazy value here, it will
still return #CURLE_OK
.
curl sends POST requests to the given DNS-over-HTTPS URL.
To find the DoH server itself, which might be specified using a name, libcurl
will use the default name lookup function. You can bootstrap that by providing
the address for the DoH server with #CURLOPT_RESOLVE
.
Disable DoH use again by setting this option to Nil
.