mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-09-12 13:16:42 +00:00
* Gateway: Fix gateway reconnect This commit uses the correct timeout, Gateway.ReconnectTimeout, when reconnecting. Furthermore, it adds a delay between consecutive, failed reconnects. * Gateway: Stop pacemaker when calling Gateway.CloseGracefully * API: remove unnecessary leading/trailing whitespaces * Gateway: Add Gateway.OnScalingRequired callback * Gateway: Make all user initiated user closures graceful and ensure that closures are respected during reconnects * Gateway: Fix typo * Gateway: Add Gateway.ReconnectAttempts and deprecate .ReconnectTimeout * Gateway: Add Gateway.Pause and reexport .Reconnect and .ReconnectCtx * Gateway: Improve the Gateway.OnShardingRequired docs * Wsutil: Code cleanup |
||
---|---|---|
.. | ||
handler | ||
httputil | ||
json | ||
sendpart | ||
wsutil |