Commit graph

11 commits

Author SHA1 Message Date
ph0t0shop
0277091ddc
Add token authentication (#780)
* Add token authentication

* Update package.json

* Update src/client/auth.js

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>

* Remove some deps

* Fix merge conflict + fix some token stuff

* Fix even more stuff + testing

* Change back echo example

* Let -> const + bugfix

* Fixed error handling

* Revert client_echo again...

* Fix linter errors

* Profile improvements

* Stupid linter errors

* Update yggdrasil, remove token auth example, move to client_echo instead

* Update client_echo

* Linter error...

Co-authored-by: David Duarte <deltaduartedavid@gmail.com>
2020-12-05 23:28:12 +01:00
Romain Beaumont
8f0ae218b1 add options.noPongTimeout to handle server that don't answer to ping packet
useful for example for minersbr.enxada.host in auto version mode
2020-10-25 15:14:22 +00:00
redcarti
0881d85577
client.end with full reason (#771)
* init

* updated docs
2020-10-25 14:25:44 +01:00
Romain Beaumont
330ab5a829 Support ipv4 and ipv6 by default in createServer
fix #759
2020-09-27 19:24:04 +00:00
Romain Beaumont
eb5bf74565 add buffer to packet event 2020-08-16 22:22:21 +00:00
Romain Beaumont
edece010bb
add auth and session server to doc 2020-08-03 01:48:23 +02:00
Romain Beaumont
4d092bb4dc
increase closeTimeout default to 2min and add to API 2020-08-03 01:37:35 +02:00
Romain Beaumont
7a30326403
add some doc to mc.ping 2020-07-14 16:22:21 +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
vlakreeh
297d40b17d add skipValidation flag for authentication 2018-11-09 11:06:12 -05:00
Romain Beaumont
273337d630
add issue template 2018-10-08 22:30:45 +02:00
Renamed from doc/README.md (Browse further)