Gus Caplan
c8f78b2bf0
fix(ws): set correct ratelimit remaining after reset or destroy ( #1806 )
2018-03-04 12:44:31 +01:00
Gus Caplan
7f5c1038db
fix websocket ratelimits ( #2014 )
2018-03-01 18:25:00 +01:00
Gus Caplan
af75e43900
proper fix for #1685 ( #1805 )
...
* Update WebSocketConnection.js
* Update WebSocketConnection.js
* Update WebSocketConnection.js
* Update RESTManager.js
2018-03-01 17:50:07 +01:00
Crawl
a85fc91630
make webpack over 9000 times better ( #1816 )
...
* webpack stuff
* even better
* Update browser.js
2017-08-22 19:57:59 +02:00
SpaceEEC
618fa2b104
functions for setTimeout should get the context bound and not applied ( #1673 )
2017-08-20 22:26:04 +02:00
Crawl
c7d1507e19
Docs cleanup
2017-08-20 22:08:37 +02:00
Amish Shah
19d4d3bf2c
Fix #1528
2017-05-27 19:21:03 +01:00
Gus Caplan
433c5e5702
you can't mutate a socket event in some browsers (webpack fix) ( #1512 )
2017-05-21 05:20:51 +02:00
SpaceEEC
6cd55ed5c9
readded docs for Client#error and Client#ready ( #1466 )
2017-05-05 20:14:56 +02:00
Amish Shah
c48f042785
silly hydar
2017-05-01 15:42:47 +01:00
Amish Shah
b8018d4b6d
Reconnect on 1000 if client didn't close
2017-05-01 15:32:40 +01:00
Amish Shah
51a2e465bd
Let client know who closed the WebSocket
2017-05-01 15:24:02 +01:00
Drahcirius
166161d6d3
ready event will now throw errors properly ( #1440 )
2017-05-01 08:43:35 +01:00
SpaceEEC
c5efa985fc
Readding Client#disconnect and docs for Client#reconnecting ( #1437 )
...
* readded docs for client#reconnecting and client#disconnect
* moved disconnect event emitting and clarified emitting reason
2017-05-01 00:16:02 +02:00
Amish Shah
0754ddbc34
Reset sequence when sessions are invalidated
2017-04-30 22:26:44 +01:00
Crawl
3cb4aac65a
Remove unused util
2017-04-30 13:03:51 +02:00
Amish Shah
edf1a3e7b4
Undeprecate uws and fix support for it
2017-04-30 11:56:24 +01:00
Amish Shah
f20f49388d
Simplify data unpack logic
2017-04-30 11:40:16 +01:00
Amish Shah
007b1226c9
Rudimentary support for uws while it is deprecated
2017-04-30 11:36:20 +01:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Amish Shah
195fcfa15c
Rewrite WebSocket internals ( #1410 )
...
* Start rewriting Manager and Connection
* more stuff
* stuff
* Fix ready bug
* some stuff i forgot
* fix some stuff
* add stupid heartbeat ack like seriously who cares
* woo!
* fix a bug
* rate limit the dumb websocket
* stuff
* hdocs
* Docs
* Remove ClientManager#setupKeepAlive as it is now redundant
* Change Client._pingTimestamp to a getter that fetches the timestamp from the WebSocketConnection
* are you happy now eslint smh
* make gus happy
* Add CloseEvent external doc
* Make sure to emit 'reconnecting' when actually reconnecting
* ffs
* Fix RESUME logic
* Add heartbeat ack debug messages, including latency data
* Dumb stuff for Gus
* thx eslint
* more dumb stuff
* more dumb crap smh gus i h8 u
* moar messages
* fix for using wrong status, causing certain events not to be fired (#1422 )
2017-04-28 16:13:06 +01:00
Gus Caplan
0d83f80fc0
Fix endless reconnection bug ( #1389 )
2017-04-17 12:32:26 +01:00
Gus Caplan
0a56fa0aae
websocket cleanup ( #1346 )
...
* websocket cleanup
* resume event
* Update Resumed.js
* Update WebSocketManager.js
2017-04-10 20:02:17 +02:00