Reason Posted January 29, 2018 Report Share Posted January 29, 2018 (edited) Hello it's possible to use proxy ip to bind localAddress for steamcommunity, or i can use proxy only for request? var steam = new SteamCommunity({ "localAddress": myProxy, "request": myProxy, }); Edited January 29, 2018 by Reason Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 30, 2018 Report Share Posted January 30, 2018 You would need to set up a request object with the proxy option: https://www.npmjs.com/package/request#proxies And it would apply to all requests, not just one. Quote Link to comment Share on other sites More sharing options...
Reason Posted January 30, 2018 Author Report Share Posted January 30, 2018 I made something like this: const request = require('request'); var myProxy = request.defaults({'proxy': 'http://myproxyip:3128' });And i have other questions there is a possible to change proxy dynamically for example for offer.getReceivedItem or i can set it only once in constructor of steamcommunity Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 30, 2018 Report Share Posted January 30, 2018 You can only set it in the constructor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.