|
Is there anyway to know if the client is still connected or if the client websocket is still open? |
Answered by
ghost
Dec 6, 2019
Replies: 3 comments
|
The connection is considered open until close event fires. This is determined by the idleTimeout. Keep sockets alive by having the client send phony messages (messages with no real content) from time to time. |
0 replies
|
@alexhultman Conversely, as soon as a close event fires, is the connection already closed (ws it not waiting for an acknowledgement from the client)? Thank you! |
0 replies
|
Yes if you get close event it is closed, that's in the docs |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes if you get close event it is closed, that's in the docs