Commit graph

9 commits

Author SHA1 Message Date
IceTank
ebbd93f2b6
Added README and more error Handling to client_socks_proxy example (#846)
* Added README and more error Handling to client_socks_proxy example.

* Lint fixing
2021-04-11 23:15:15 +02:00
Romain Beaumont
4a20374082
fix a few errors in socks proxy example 2020-06-16 17:53:53 +02:00
Idan Horowitz
54380a3cb7
Pass through http agent option to yggdrasil for proxy support (#676)
* initialize yggdrasil with agent option if it exists

* standardjs

* move require statements to the top

* add agent option to docs and ts type information
also removed useless typescript import and moved class fields from wrong class to the correct one

* update proxy examples and add http agents for proxying yggdrasil

* update to agent supporting yggdrasil version
2020-02-11 12:31:24 +01:00
Romain Beaumont
0bd2e559bd
run standard 1.12 --fix 2018-09-24 22:08:11 +02:00
Romain Beaumont
e3e0a26dfe
change codestyle to standard + enforce it with circle ci 2018-05-13 22:50:16 +02:00
Romain Beaumont
010362ef78
add connect option to createClient for multiple (ping + normal) connections for the proxy examples, use the normal options for pinging in autoVersion to have that option available and fix the proxy examples accordingly 2017-07-19 18:39:25 +02:00
Romain Beaumont
6279ae9afe
fix socks proxy using a socks module that actually works and provide a proper node stream 2017-07-19 17:24:51 +02:00
Romain Beaumont
e9ced90a50 Update client_socks_proxy.js 2017-07-17 15:30:14 +02:00
Romain Beaumont
ed425e775d
add 2 examples : client_http_proxy and client_socks_proxy. fix #185 fix #436 2017-07-13 14:42:42 +02:00