{"action":"created","issue":{"url":"https://api.github.com/repos/marko-js/marko/issues/242","repository_url":"https://api.github.com/repos/marko-js/marko","labels_url":"https://api.github.com/repos/marko-js/marko/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/marko-js/marko/issues/242/comments","events_url":"https://api.github.com/repos/marko-js/marko/issues/242/events","html_url":"https://github.com/marko-js/marko/issues/242","id":139136203,"number":242,"title":"Add docs for hapi","user":{"login":"patrick-steele-idem","id":978214,"avatar_url":"https://avatars.githubusercontent.com/u/978214?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-steele-idem","html_url":"https://github.com/patrick-steele-idem","followers_url":"https://api.github.com/users/patrick-steele-idem/followers","following_url":"https://api.github.com/users/patrick-steele-idem/following{/other_user}","gists_url":"https://api.github.com/users/patrick-steele-idem/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-steele-idem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-steele-idem/subscriptions","organizations_url":"https://api.github.com/users/patrick-steele-idem/orgs","repos_url":"https://api.github.com/users/patrick-steele-idem/repos","events_url":"https://api.github.com/users/patrick-steele-idem/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-steele-idem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marko-js/marko/labels/docs","name":"docs","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-08T00:24:15Z","updated_at":"2016-05-02T18:38:19Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/marko-js/marko/issues/comments/216322526","html_url":"https://github.com/marko-js/marko/issues/242#issuecomment-216322526","issue_url":"https://api.github.com/repos/marko-js/marko/issues/242","id":216322526,"user":{"login":"jsumners","id":321201,"avatar_url":"https://avatars.githubusercontent.com/u/321201?v=3","gravatar_id":"","url":"https://api.github.com/users/jsumners","html_url":"https://github.com/jsumners","followers_url":"https://api.github.com/users/jsumners/followers","following_url":"https://api.github.com/users/jsumners/following{/other_user}","gists_url":"https://api.github.com/users/jsumners/gists{/gist_id}","starred_url":"https://api.github.com/users/jsumners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsumners/subscriptions","organizations_url":"https://api.github.com/users/jsumners/orgs","repos_url":"https://api.github.com/users/jsumners/repos","events_url":"https://api.github.com/users/jsumners/events{/privacy}","received_events_url":"https://api.github.com/users/jsumners/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T18:38:19Z","updated_at":"2016-05-02T18:38:19Z","body":"If you want to adjust the response type:\r\n\r\n```javascript\r\nserver.route({\r\n    method: 'GET',\r\n    path: '/',\r\n    handler: function (request, reply) {\r\n\r\n        reply(index.stream({'message': 'hello world!'})).type('text/html');\r\n    }\r\n});\r\n```"}}