{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/issues/7","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/issues/7/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/issues/7/events","html_url":"https://github.com/cloudfoundry-incubator/garden-windows/pull/7","id":106984405,"number":7,"title":"Graceful close of the websocket connection","user":{"login":"stefanschneider","id":1110013,"avatar_url":"https://avatars.githubusercontent.com/u/1110013?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanschneider","html_url":"https://github.com/stefanschneider","followers_url":"https://api.github.com/users/stefanschneider/followers","following_url":"https://api.github.com/users/stefanschneider/following{/other_user}","gists_url":"https://api.github.com/users/stefanschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanschneider/subscriptions","organizations_url":"https://api.github.com/users/stefanschneider/orgs","repos_url":"https://api.github.com/users/stefanschneider/repos","events_url":"https://api.github.com/users/stefanschneider/events{/privacy}","received_events_url":"https://api.github.com/users/stefanschneider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T13:26:51Z","updated_at":"2015-09-17T13:26:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/pulls/7","html_url":"https://github.com/cloudfoundry-incubator/garden-windows/pull/7","diff_url":"https://github.com/cloudfoundry-incubator/garden-windows/pull/7.diff","patch_url":"https://github.com/cloudfoundry-incubator/garden-windows/pull/7.patch"},"body":"The defer func will send a close message though the websocket connection and then it will keep the connection open until the C# side will also call the Close method.\r\n\r\nRef: \"Read is requored\" \r\nhttp://www.gorillatoolkit.org/pkg/websocket\r\n\r\nIssue:\r\nhttps://www.pivotaltracker.com/n/projects/1156164"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/issues/comments/141084539","html_url":"https://github.com/cloudfoundry-incubator/garden-windows/pull/7#issuecomment-141084539","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/garden-windows/issues/7","id":141084539,"user":{"login":"cfdreddbot","id":5149451,"avatar_url":"https://avatars.githubusercontent.com/u/5149451?v=3","gravatar_id":"","url":"https://api.github.com/users/cfdreddbot","html_url":"https://github.com/cfdreddbot","followers_url":"https://api.github.com/users/cfdreddbot/followers","following_url":"https://api.github.com/users/cfdreddbot/following{/other_user}","gists_url":"https://api.github.com/users/cfdreddbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cfdreddbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfdreddbot/subscriptions","organizations_url":"https://api.github.com/users/cfdreddbot/orgs","repos_url":"https://api.github.com/users/cfdreddbot/repos","events_url":"https://api.github.com/users/cfdreddbot/events{/privacy}","received_events_url":"https://api.github.com/users/cfdreddbot/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T13:26:51Z","updated_at":"2015-09-17T13:26:51Z","body":"Hey stefanschneider!\n\nThanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA.\n"}}