{"action":"created","issue":{"url":"https://api.github.com/repos/theturtle32/WebSocket-Node/issues/194","labels_url":"https://api.github.com/repos/theturtle32/WebSocket-Node/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/theturtle32/WebSocket-Node/issues/194/comments","events_url":"https://api.github.com/repos/theturtle32/WebSocket-Node/issues/194/events","html_url":"https://github.com/theturtle32/WebSocket-Node/issues/194","id":61636930,"number":194,"title":"Websocketconnection.close() not in documentation","user":{"login":"cellsheet","id":1596216,"avatar_url":"https://avatars.githubusercontent.com/u/1596216?v=3","gravatar_id":"","url":"https://api.github.com/users/cellsheet","html_url":"https://github.com/cellsheet","followers_url":"https://api.github.com/users/cellsheet/followers","following_url":"https://api.github.com/users/cellsheet/following{/other_user}","gists_url":"https://api.github.com/users/cellsheet/gists{/gist_id}","starred_url":"https://api.github.com/users/cellsheet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cellsheet/subscriptions","organizations_url":"https://api.github.com/users/cellsheet/orgs","repos_url":"https://api.github.com/users/cellsheet/repos","events_url":"https://api.github.com/users/cellsheet/events{/privacy}","received_events_url":"https://api.github.com/users/cellsheet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-14T16:18:37Z","updated_at":"2015-03-14T16:20:57Z","closed_at":"2015-03-14T16:20:57Z","body":"There is a lack of documentation in the websocket client doc's in regards to closing a websocket in a client by doing WebSocketConnection.close(). The only way I knew how to close the websocket was through looking at old issues."},"comment":{"url":"https://api.github.com/repos/theturtle32/WebSocket-Node/issues/comments/80558712","html_url":"https://github.com/theturtle32/WebSocket-Node/issues/194#issuecomment-80558712","issue_url":"https://api.github.com/repos/theturtle32/WebSocket-Node/issues/194","id":80558712,"user":{"login":"cellsheet","id":1596216,"avatar_url":"https://avatars.githubusercontent.com/u/1596216?v=3","gravatar_id":"","url":"https://api.github.com/users/cellsheet","html_url":"https://github.com/cellsheet","followers_url":"https://api.github.com/users/cellsheet/followers","following_url":"https://api.github.com/users/cellsheet/following{/other_user}","gists_url":"https://api.github.com/users/cellsheet/gists{/gist_id}","starred_url":"https://api.github.com/users/cellsheet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cellsheet/subscriptions","organizations_url":"https://api.github.com/users/cellsheet/orgs","repos_url":"https://api.github.com/users/cellsheet/repos","events_url":"https://api.github.com/users/cellsheet/events{/privacy}","received_events_url":"https://api.github.com/users/cellsheet/received_events","type":"User","site_admin":false},"created_at":"2015-03-14T16:20:57Z","updated_at":"2015-03-14T16:20:57Z","body":"I had found it actually, https://github.com/theturtle32/WebSocket-Node/blob/master/docs/WebSocketConnection.md#closereasoncode-description"}}