{"action":"closed","issue":{"url":"https://api.github.com/repos/zykis/DotaAsker/issues/2","labels_url":"https://api.github.com/repos/zykis/DotaAsker/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zykis/DotaAsker/issues/2/comments","events_url":"https://api.github.com/repos/zykis/DotaAsker/issues/2/events","html_url":"https://github.com/zykis/DotaAsker/issues/2","id":116111058,"number":2,"title":"Queue for requests","user":{"login":"zykis","id":5877248,"avatar_url":"https://avatars.githubusercontent.com/u/5877248?v=3","gravatar_id":"","url":"https://api.github.com/users/zykis","html_url":"https://github.com/zykis","followers_url":"https://api.github.com/users/zykis/followers","following_url":"https://api.github.com/users/zykis/following{/other_user}","gists_url":"https://api.github.com/users/zykis/gists{/gist_id}","starred_url":"https://api.github.com/users/zykis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zykis/subscriptions","organizations_url":"https://api.github.com/users/zykis/orgs","repos_url":"https://api.github.com/users/zykis/repos","events_url":"https://api.github.com/users/zykis/events{/privacy}","received_events_url":"https://api.github.com/users/zykis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zykis/DotaAsker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T13:56:54Z","updated_at":"2015-11-10T16:35:47Z","closed_at":"2015-11-10T16:35:47Z","body":"Need to create a Queue for Client manager. Every sended request (message) should be moved into that queue. If message recieved by Server successfully and work done fine, Server notify Client by sending message of specific format: ' {\"command\":\"command_recieved\", \"what_command\":\"xxx\"} '\r\nThis message, recieved by Client, removes particular request from Queue.\r\nNot resolved question: What if server will send a Notify and Client wouldn't get it? Looks like the message would be send by Client over and over again and that might end up by UNWANTED multiple calls on server side."}}