n0mad01 / node.bittrex.api

No longer maintained
MIT License
183 stars 187 forks source link

How to use with Proxy? #26

Closed LeMoussel closed 7 years ago

LeMoussel commented 7 years ago

Hi, I would like to know if there is a way to use proxy with node.bittrex API ?

Thanks!

n0mad01 commented 7 years ago

do you mean simple requests or websockets?

LeMoussel commented 7 years ago

For both simple requests and websockets. However I have a POC to build with simple requests.

n0mad01 commented 7 years ago

for websockets you should be able to set proxy params like this:

websocketsclient.proxy.host = "127.0.0.1";
websocketsclient.proxy.port = "8888";

https://www.npmjs.com/package/signalr-client#connect-over-http-proxy

for simple requests it's not implemented yet.