treeform / puppy

Puppy fetches via HTTP and HTTPS
MIT License
184 stars 27 forks source link

expose curl object to caller #120

Open enthus1ast opened 2 months ago

enthus1ast commented 2 months ago

It would be beneficial if the curl object (or the windows equivalent) would be exposed to the caller. Then the requests could be customized, for example to use a proxy server etc.

Edit: Maybe overload the get etc or fetch (interalFetch) that it accepts a "curl" object, then options could be set by the caller, by providing their own.