curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl_easy_cmdline ?

From: Christian Schmitz via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 2 Dec 2020 10:08:37 +0100

> Am 01.12.2020 um 16:29 schrieb Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>:
>
> Hi,
>
> Here's an idea: a function that can return the equivalent curl command line based on the options set in the easy handle!
>
> For debugging and more.
>

Great idea.

I would rather like to see a curl_easy_getopt to get the properties and then have our app walk over list of properties and query each value to print it to console.


Sincerely
Christian





-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2020-12-02