{"action":"opened","issue":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/285","labels_url":"https://api.github.com/repos/gin-gonic/gin/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/gin-gonic/gin/issues/285/comments","events_url":"https://api.github.com/repos/gin-gonic/gin/issues/285/events","html_url":"https://github.com/gin-gonic/gin/issues/285","id":75679052,"number":285,"title":"HTTP streaming","user":{"login":"manucorporat","id":127379,"avatar_url":"https://avatars.githubusercontent.com/u/127379?v=3","gravatar_id":"","url":"https://api.github.com/users/manucorporat","html_url":"https://github.com/manucorporat","followers_url":"https://api.github.com/users/manucorporat/followers","following_url":"https://api.github.com/users/manucorporat/following{/other_user}","gists_url":"https://api.github.com/users/manucorporat/gists{/gist_id}","starred_url":"https://api.github.com/users/manucorporat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manucorporat/subscriptions","organizations_url":"https://api.github.com/users/manucorporat/orgs","repos_url":"https://api.github.com/users/manucorporat/repos","events_url":"https://api.github.com/users/manucorporat/events{/privacy}","received_events_url":"https://api.github.com/users/manucorporat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-12T17:36:44Z","updated_at":"2015-05-12T17:36:44Z","closed_at":null,"body":"I am experimenting with several new APIs:\r\n\r\n```\r\nc.Stream(stepFunction)\r\nc.SSEvent(name, message)\r\n```\r\n\r\nI expect this will help developers to build simple and stable streaming correctly with Go and Gin.\r\n\r\nI created a realtime-chat example: https://github.com/gin-gonic/gin/blob/develop/examples/realtime-chat/main.go\r\n\r\nThe implementation: \r\nhttps://github.com/gin-gonic/gin/blob/470b7e1010b3ceee8574fda670143f73710a04e5/context.go#L383-L412\r\nhttps://github.com/gin-gonic/gin/blob/470b7e1010b3ceee8574fda670143f73710a04e5/render/ssevent.go\r\n\r\n\r\nFeedback is welcome!"}}