{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/socket.io/issues/2003","labels_url":"https://api.github.com/repos/Automattic/socket.io/issues/2003/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/socket.io/issues/2003/comments","events_url":"https://api.github.com/repos/Automattic/socket.io/issues/2003/events","html_url":"https://github.com/Automattic/socket.io/issues/2003","id":57596189,"number":2003,"title":"Add notion of volatile message to the client","user":{"login":"grofit","id":927201,"avatar_url":"https://avatars.githubusercontent.com/u/927201?v=3","gravatar_id":"","url":"https://api.github.com/users/grofit","html_url":"https://github.com/grofit","followers_url":"https://api.github.com/users/grofit/followers","following_url":"https://api.github.com/users/grofit/following{/other_user}","gists_url":"https://api.github.com/users/grofit/gists{/gist_id}","starred_url":"https://api.github.com/users/grofit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grofit/subscriptions","organizations_url":"https://api.github.com/users/grofit/orgs","repos_url":"https://api.github.com/users/grofit/repos","events_url":"https://api.github.com/users/grofit/events{/privacy}","received_events_url":"https://api.github.com/users/grofit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-13T13:03:45Z","updated_at":"2015-02-13T13:03:45Z","closed_at":null,"body":"This was discussed on Slack, just wanted to capture it here incase it was not done so elsewhere.\r\n\r\nThe server has the notion of a message that it will try to deliver and if it fails it does not try again, as the message is deemed supplementary not mandatory. Currently the socket io javascript client does not have this notion so certain messages will back up which are not needing to.\r\n\r\nIn my scenario it is a ping to notify others that the person is still active, if one of these is missed it is not important, however if the server were to go down these messages back up and really you only need the latest one, not any previous ones, so it would be good to be able to mark them as volatile so any missed ones are ignored not backed up."}}