WS disconnected / lost after few hours. #426
Answered
by
enisdenjo
suryakumara
asked this question in
Q&A
-
any parameter I should add in createWSClient, because now it will not receive data after idle in few hours ?
|
Beta Was this translation helpful? Give feedback.
Answered by
enisdenjo
Dec 16, 2022
Replies: 1 comment
-
You can use client's |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
enisdenjo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use client's
keepAlive
option to prevent the client from idling by pinging the server following the set interval.