Client WS wrapper to handle reconnection #116
Answered
by
ghost
cmnstmntmn
asked this question in
Q&A
-
hey, great work! i'm wondering what you guys are using for that. |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Apr 2, 2019
Replies: 3 comments
-
I'm using https://github.com/porsager/pws 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Holy shit 365 lines of code to reconnect? Try |
Beta Was this translation helpful? Give feedback.
0 replies
-
hehe, thank you @porsager. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Holy shit 365 lines of code to reconnect?
Try
ws.onclose = () => {whatever_you_ran_to_connect();}