-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds proxy as option to request #46
base: master
Are you sure you want to change the base?
Conversation
if (proxy) { | ||
request = { | ||
host: proxy, | ||
path: (options.query.https ? "https" : "http") + "://" + API_HOSTNAME + API_BASE_PATH + options.api + endpoint + query, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of options.query.https
, can we use this.https
from the https
option in the constructor? What are your thoughts @JonathanWexler?
Thank you for the PR @JonathanWexler! I'm sorry for the late response. Let me know what you think of the comment above. |
Is this still something you're interested in exploring @JonathanWexler? |
Sorry for the delay, I agree with you. When I get a chance to apply those changes I’ll make a change to the PR. Thanks for following up.
… On Jun 18, 2018, at 10:43 AM, Austin Kelleher ***@***.***> wrote:
Is this still something you're interested in exploring @JonathanWexler?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Awesome thanks @JonathanWexler! |
I'll clean this up. But just wanted to get this out there first. This adds the ability to enter a proxy as an option. I needed this to test in a secure network.