Skip to content

get info from client when closing #1878

Answered by miguelgrinberg
Ianyourgod asked this question in Q&A
Discussion options

You must be logged in to vote

When a client goes away your disconnect callback is automatically invoked in the server. You can use request.sid within this handler to know which client went away.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Ianyourgod
Comment options

@miguelgrinberg
Comment options

@Ianyourgod
Comment options

@miguelgrinberg
Comment options

Answer selected by Ianyourgod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants