I want to use proxy when throwing steam profile comments.I need to login for the client and then the community. How can I use proxy here?
My Codes :
let client = new Steam.CMClient();
data["community"] = new SteamCommunity();
client.setHttpProxy(/*proxy url */);
data["client"] = new SteamUser(client);
data["client"].logOn(second);
data["client"].on('loggedOn', () => {
console.log('\n Hesaba giriş yapıldı. \n');
data["client"].setPersona(SteamUser.EPersonaState.Online);
data["client"].gamesPlayed(["OkiSource here !!", 440, 570]);
});
data["client"].on('webSession', (sessionid, cookies) => {
data["community"].setCookies(cookies);
});
this code is not working im checking data and showed my server ip not proxy ip. How can i login community and client with proxy.