voltrue2 / in-app-purchase

A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows.
http://iap.gracenode.org
Other
1.04k stars 287 forks source link

http proxy support #276

Closed chanind closed 4 years ago

chanind commented 4 years ago

The request library that's being used here supports setting a http proxy via the proxy parameter when sending requests, but there's no way I can see to configure that parameter in this library. We need to be able to set this parameter because our servers are located inside of China, and Apple's servers are outside of China, so if we don't go through a proxy the requests will frequently get blocked by the Chinese Firewall.

chanind commented 4 years ago

I am dumb, the requestDefaults parameter allows this to work!