{"action":"closed","issue":{"url":"https://api.github.com/repos/websockets/ws/issues/197","repository_url":"https://api.github.com/repos/websockets/ws","labels_url":"https://api.github.com/repos/websockets/ws/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/websockets/ws/issues/197/comments","events_url":"https://api.github.com/repos/websockets/ws/issues/197/events","html_url":"https://github.com/websockets/ws/issues/197","id":14768999,"number":197,"title":"bufferedAmount - WebSocket","user":{"login":"makkedude","id":3398750,"avatar_url":"https://avatars.githubusercontent.com/u/3398750?v=3","gravatar_id":"","url":"https://api.github.com/users/makkedude","html_url":"https://github.com/makkedude","followers_url":"https://api.github.com/users/makkedude/followers","following_url":"https://api.github.com/users/makkedude/following{/other_user}","gists_url":"https://api.github.com/users/makkedude/gists{/gist_id}","starred_url":"https://api.github.com/users/makkedude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makkedude/subscriptions","organizations_url":"https://api.github.com/users/makkedude/orgs","repos_url":"https://api.github.com/users/makkedude/repos","events_url":"https://api.github.com/users/makkedude/events{/privacy}","received_events_url":"https://api.github.com/users/makkedude/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2013-05-26T10:56:31Z","updated_at":"2016-11-10T08:18:23Z","closed_at":"2016-11-10T08:18:23Z","body":"Greetings!\nI'm not sure if I got it all wrong, or if I'm just bad at searching. I was looking for something like \"bufferedAmount\" for the WebSocket's send(). I'm writing a little real-time physics server that constantly sends physics-data. What I wanted to do was avoid sending packets from the server, if the packet previously sent has not yet been sent. This is to avoid stacking packets in the send() (Assuming that this is the case.. I'm not sure how to debug that really). I'm also well aware that TCP is not the proper approach for syncronizing physics.\n\nWhile I'm at it, perhaps you have any tips for optimizing the WebSocket to send packets faster and more raw? Right now the packet data is simply JSON and uses nothing but standard options.\n\n//Terribly sorry for my inconsistent English, It's not my native language.\n\n~Makke.\n"}}
{"actor":{"display_login":"lpinca"}}