{"action":"created","issue":{"url":"https://api.github.com/repos/ant0ine/go-json-rest/issues/25","labels_url":"https://api.github.com/repos/ant0ine/go-json-rest/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ant0ine/go-json-rest/issues/25/comments","events_url":"https://api.github.com/repos/ant0ine/go-json-rest/issues/25/events","html_url":"https://github.com/ant0ine/go-json-rest/issues/25","id":16572701,"number":25,"title":"Websocket example","user":{"login":"kronos","id":5432,"avatar_url":"https://avatars.githubusercontent.com/u/5432?v=3","gravatar_id":"","url":"https://api.github.com/users/kronos","html_url":"https://github.com/kronos","followers_url":"https://api.github.com/users/kronos/followers","following_url":"https://api.github.com/users/kronos/following{/other_user}","gists_url":"https://api.github.com/users/kronos/gists{/gist_id}","starred_url":"https://api.github.com/users/kronos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kronos/subscriptions","organizations_url":"https://api.github.com/users/kronos/orgs","repos_url":"https://api.github.com/users/kronos/repos","events_url":"https://api.github.com/users/kronos/events{/privacy}","received_events_url":"https://api.github.com/users/kronos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ant0ine/go-json-rest/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-07-10T11:39:10Z","updated_at":"2015-04-17T15:21:44Z","closed_at":null,"body":"I can't make the library works with standart websocket package. "},"comment":{"url":"https://api.github.com/repos/ant0ine/go-json-rest/issues/comments/94007642","html_url":"https://github.com/ant0ine/go-json-rest/issues/25#issuecomment-94007642","issue_url":"https://api.github.com/repos/ant0ine/go-json-rest/issues/25","id":94007642,"user":{"login":"wingyplus","id":484530,"avatar_url":"https://avatars.githubusercontent.com/u/484530?v=3","gravatar_id":"","url":"https://api.github.com/users/wingyplus","html_url":"https://github.com/wingyplus","followers_url":"https://api.github.com/users/wingyplus/followers","following_url":"https://api.github.com/users/wingyplus/following{/other_user}","gists_url":"https://api.github.com/users/wingyplus/gists{/gist_id}","starred_url":"https://api.github.com/users/wingyplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingyplus/subscriptions","organizations_url":"https://api.github.com/users/wingyplus/orgs","repos_url":"https://api.github.com/users/wingyplus/repos","events_url":"https://api.github.com/users/wingyplus/events{/privacy}","received_events_url":"https://api.github.com/users/wingyplus/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T15:21:44Z","updated_at":"2015-04-17T15:21:44Z","body":"@vidario you can change type from rest.ResponseWriter to http.ResponseWriter with type assertion. And *rest.Request has a *http.Request embed in struct you can use request.Request to get *http.Request.\r\n"}}