hrecht / censusapi

R package to retrieve U.S. Census data and metadata via API
https://www.hrecht.com/censusapi/
169 stars 30 forks source link

Feature request: ability to connect via proxy: like the use_proxy() function in the httr::GET #81

Closed lcarmoega closed 2 years ago

lcarmoega commented 2 years ago

Normally I would connect to the API via httr::GET, pass the API URL, and use the use_proxy() function. I was wondering if there is a way, or if it can be implemented into the library to do that as well.

Thanks,

Luis

hrecht commented 2 years ago

You can set global proxy settings in your R config, implementing it into this library would be out of scope especially since last I checked use_proxy() was not ported over to httr2. Eventually this package may upgrade to httr2 dependency and so that would break anyway.