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.
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 orfetch
(interalFetch
) that it accepts a "curl" object, then options could be set by the caller, by providing their own.