Skip to content

Need server event for when client closes browser or 'disconnects' #292

blairvanderhoof opened this Issue Sep 6, 2012 · 4 comments

5 participants


In order to cleanup sessions, I need an event such as 'disconnect' that can be listened to on the server side and is passed the disconnected session as an argument. The event should trigger when a client loses connection from browser/tab close. I couldn't find any such documentation. Thanks.

ostera commented Sep 7, 2012

This is coming in 0.4 alongside other server-side events such as the ones I asked for in issue #291.


An update - 0.4 is being cancelled, so that we can focus all dev work on one branch, the current branch.


I'm putting this into consideration for the 0.4 milestone branch.

@paulbjensen paulbjensen added this to the 0.4 milestone Feb 1, 2015
SocketStream member
kulicuu commented Feb 2, 2015

This is good to know. I'm doing some stuff like this in prototypes.

Right so basically I'm working on something which encompasses this or at least overlaps with this feature request; I'm working on being able to 'publish' server side events. This feature would be a subset of the use case set.

@thepian thepian modified the milestone: 0.4.x, 0.4, 0.4.1 Apr 11, 2015
@thepian thepian modified the milestone: 0.4.x, 0.4.3 Jun 5, 2015
@thepian thepian modified the milestone: 0.5.3 unstable, 0.4.x Nov 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.