{"action":"created","comment":{"url":"https://api.github.com/repos/hseeberger/akka-sse/pulls/comments/32499538","id":32499538,"diff_hunk":"@@ -34,6 +40,22 @@ object ServerSentEvent {\n   def apply(data: String, eventType: String): ServerSentEvent = new ServerSentEvent(data, Some(eventType))\n \n   /**\n+   * Creates a [[ServerSentEvent]] with defined event type.\n+   * @param data data which may span multiple lines\n+   * @param eventType event type, must not contain \\n or \\r\n+   * @param id event id","path":"akka-sse/src/main/scala/de/heikoseeberger/akkasse/ServerSentEvent.scala","position":20,"original_position":20,"commit_id":"4771020550f778a463dfd9e5a2797c07a254b08a","original_commit_id":"4771020550f778a463dfd9e5a2797c07a254b08a","user":{"login":"hseeberger","id":41911,"avatar_url":"https://avatars.githubusercontent.com/u/41911?v=3","gravatar_id":"","url":"https://api.github.com/users/hseeberger","html_url":"https://github.com/hseeberger","followers_url":"https://api.github.com/users/hseeberger/followers","following_url":"https://api.github.com/users/hseeberger/following{/other_user}","gists_url":"https://api.github.com/users/hseeberger/gists{/gist_id}","starred_url":"https://api.github.com/users/hseeberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hseeberger/subscriptions","organizations_url":"https://api.github.com/users/hseeberger/orgs","repos_url":"https://api.github.com/users/hseeberger/repos","events_url":"https://api.github.com/users/hseeberger/events{/privacy}","received_events_url":"https://api.github.com/users/hseeberger/received_events","type":"User","site_admin":false},"body":"Please add \", must not contain \\n or \\r\" here and to other comments.","created_at":"2015-06-16T08:20:11Z","updated_at":"2015-06-16T08:20:11Z","html_url":"https://github.com/hseeberger/akka-sse/pull/42#discussion_r32499538","pull_request_url":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/hseeberger/akka-sse/pulls/comments/32499538"},"html":{"href":"https://github.com/hseeberger/akka-sse/pull/42#discussion_r32499538"},"pull_request":{"href":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42","id":36236940,"html_url":"https://github.com/hseeberger/akka-sse/pull/42","diff_url":"https://github.com/hseeberger/akka-sse/pull/42.diff","patch_url":"https://github.com/hseeberger/akka-sse/pull/42.patch","issue_url":"https://api.github.com/repos/hseeberger/akka-sse/issues/42","number":42,"state":"open","locked":false,"title":"add id and retry field to ServerSentEvent. Fixes #38","user":{"login":"danielwegener","id":2953619,"avatar_url":"https://avatars.githubusercontent.com/u/2953619?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwegener","html_url":"https://github.com/danielwegener","followers_url":"https://api.github.com/users/danielwegener/followers","following_url":"https://api.github.com/users/danielwegener/following{/other_user}","gists_url":"https://api.github.com/users/danielwegener/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwegener/subscriptions","organizations_url":"https://api.github.com/users/danielwegener/orgs","repos_url":"https://api.github.com/users/danielwegener/repos","events_url":"https://api.github.com/users/danielwegener/events{/privacy}","received_events_url":"https://api.github.com/users/danielwegener/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-26T19:30:59Z","updated_at":"2015-06-16T08:20:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9379724e7e1723b21c71dd22b3b3dc2c1ade5de0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42/commits","review_comments_url":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42/comments","review_comment_url":"https://api.github.com/repos/hseeberger/akka-sse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hseeberger/akka-sse/issues/42/comments","statuses_url":"https://api.github.com/repos/hseeberger/akka-sse/statuses/4771020550f778a463dfd9e5a2797c07a254b08a","head":{"label":"danielwegener:wip/38","ref":"wip/38","sha":"4771020550f778a463dfd9e5a2797c07a254b08a","user":{"login":"danielwegener","id":2953619,"avatar_url":"https://avatars.githubusercontent.com/u/2953619?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwegener","html_url":"https://github.com/danielwegener","followers_url":"https://api.github.com/users/danielwegener/followers","following_url":"https://api.github.com/users/danielwegener/following{/other_user}","gists_url":"https://api.github.com/users/danielwegener/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwegener/subscriptions","organizations_url":"https://api.github.com/users/danielwegener/orgs","repos_url":"https://api.github.com/users/danielwegener/repos","events_url":"https://api.github.com/users/danielwegener/events{/privacy}","received_events_url":"https://api.github.com/users/danielwegener/received_events","type":"User","site_admin":false},"repo":{"id":36318109,"name":"akka-sse","full_name":"danielwegener/akka-sse","owner":{"login":"danielwegener","id":2953619,"avatar_url":"https://avatars.githubusercontent.com/u/2953619?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwegener","html_url":"https://github.com/danielwegener","followers_url":"https://api.github.com/users/danielwegener/followers","following_url":"https://api.github.com/users/danielwegener/following{/other_user}","gists_url":"https://api.github.com/users/danielwegener/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwegener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwegener/subscriptions","organizations_url":"https://api.github.com/users/danielwegener/orgs","repos_url":"https://api.github.com/users/danielwegener/repos","events_url":"https://api.github.com/users/danielwegener/events{/privacy}","received_events_url":"https://api.github.com/users/danielwegener/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielwegener/akka-sse","description":"akka-sse adds support for Server-Sent Events to akka-http","fork":true,"url":"https://api.github.com/repos/danielwegener/akka-sse","forks_url":"https://api.github.com/repos/danielwegener/akka-sse/forks","keys_url":"https://api.github.com/repos/danielwegener/akka-sse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielwegener/akka-sse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielwegener/akka-sse/teams","hooks_url":"https://api.github.com/repos/danielwegener/akka-sse/hooks","issue_events_url":"https://api.github.com/repos/danielwegener/akka-sse/issues/events{/number}","events_url":"https://api.github.com/repos/danielwegener/akka-sse/events","assignees_url":"https://api.github.com/repos/danielwegener/akka-sse/assignees{/user}","branches_url":"https://api.github.com/repos/danielwegener/akka-sse/branches{/branch}","tags_url":"https://api.github.com/repos/danielwegener/akka-sse/tags","blobs_url":"https://api.github.com/repos/danielwegener/akka-sse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielwegener/akka-sse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielwegener/akka-sse/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielwegener/akka-sse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielwegener/akka-sse/statuses/{sha}","languages_url":"https://api.github.com/repos/danielwegener/akka-sse/languages","stargazers_url":"https://api.github.com/repos/danielwegener/akka-sse/stargazers","contributors_url":"https://api.github.com/repos/danielwegener/akka-sse/contributors","subscribers_url":"https://api.github.com/repos/danielwegener/akka-sse/subscribers","subscription_url":"https://api.github.com/repos/danielwegener/akka-sse/subscription","commits_url":"https://api.github.com/repos/danielwegener/akka-sse/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielwegener/akka-sse/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielwegener/akka-sse/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielwegener/akka-sse/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielwegener/akka-sse/contents/{+path}","compare_url":"https://api.github.com/repos/danielwegener/akka-sse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielwegener/akka-sse/merges","archive_url":"https://api.github.com/repos/danielwegener/akka-sse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielwegener/akka-sse/downloads","issues_url":"https://api.github.com/repos/danielwegener/akka-sse/issues{/number}","pulls_url":"https://api.github.com/repos/danielwegener/akka-sse/pulls{/number}","milestones_url":"https://api.github.com/repos/danielwegener/akka-sse/milestones{/number}","notifications_url":"https://api.github.com/repos/danielwegener/akka-sse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielwegener/akka-sse/labels{/name}","releases_url":"https://api.github.com/repos/danielwegener/akka-sse/releases{/id}","created_at":"2015-05-26T19:15:06Z","updated_at":"2015-05-26T19:15:07Z","pushed_at":"2015-05-26T19:52:37Z","git_url":"git://github.com/danielwegener/akka-sse.git","ssh_url":"git@github.com:danielwegener/akka-sse.git","clone_url":"https://github.com/danielwegener/akka-sse.git","svn_url":"https://github.com/danielwegener/akka-sse","homepage":null,"size":206,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hseeberger:master","ref":"master","sha":"0f35dc492f75a03e9091be5c7d0e04ff45f3f0de","user":{"login":"hseeberger","id":41911,"avatar_url":"https://avatars.githubusercontent.com/u/41911?v=3","gravatar_id":"","url":"https://api.github.com/users/hseeberger","html_url":"https://github.com/hseeberger","followers_url":"https://api.github.com/users/hseeberger/followers","following_url":"https://api.github.com/users/hseeberger/following{/other_user}","gists_url":"https://api.github.com/users/hseeberger/gists{/gist_id}","starred_url":"https://api.github.com/users/hseeberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hseeberger/subscriptions","organizations_url":"https://api.github.com/users/hseeberger/orgs","repos_url":"https://api.github.com/users/hseeberger/repos","events_url":"https://api.github.com/users/hseeberger/events{/privacy}","received_events_url":"https://api.github.com/users/hseeberger/received_events","type":"User","site_admin":false},"repo":{"id":26687909,"name":"akka-sse","full_name":"hseeberger/akka-sse","owner":{"login":"hseeberger","id":41911,"avatar_url":"https://avatars.githubusercontent.com/u/41911?v=3","gravatar_id":"","url":"https://api.github.com/users/hseeberger","html_url":"https://github.com/hseeberger","followers_url":"https://api.github.com/users/hseeberger/followers","following_url":"https://api.github.com/users/hseeberger/following{/other_user}","gists_url":"https://api.github.com/users/hseeberger/gists{/gist_id}","starred_url":"https://api.github.com/users/hseeberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hseeberger/subscriptions","organizations_url":"https://api.github.com/users/hseeberger/orgs","repos_url":"https://api.github.com/users/hseeberger/repos","events_url":"https://api.github.com/users/hseeberger/events{/privacy}","received_events_url":"https://api.github.com/users/hseeberger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hseeberger/akka-sse","description":"akka-sse adds support for Server-Sent Events to akka-http","fork":false,"url":"https://api.github.com/repos/hseeberger/akka-sse","forks_url":"https://api.github.com/repos/hseeberger/akka-sse/forks","keys_url":"https://api.github.com/repos/hseeberger/akka-sse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hseeberger/akka-sse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hseeberger/akka-sse/teams","hooks_url":"https://api.github.com/repos/hseeberger/akka-sse/hooks","issue_events_url":"https://api.github.com/repos/hseeberger/akka-sse/issues/events{/number}","events_url":"https://api.github.com/repos/hseeberger/akka-sse/events","assignees_url":"https://api.github.com/repos/hseeberger/akka-sse/assignees{/user}","branches_url":"https://api.github.com/repos/hseeberger/akka-sse/branches{/branch}","tags_url":"https://api.github.com/repos/hseeberger/akka-sse/tags","blobs_url":"https://api.github.com/repos/hseeberger/akka-sse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hseeberger/akka-sse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hseeberger/akka-sse/git/refs{/sha}","trees_url":"https://api.github.com/repos/hseeberger/akka-sse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hseeberger/akka-sse/statuses/{sha}","languages_url":"https://api.github.com/repos/hseeberger/akka-sse/languages","stargazers_url":"https://api.github.com/repos/hseeberger/akka-sse/stargazers","contributors_url":"https://api.github.com/repos/hseeberger/akka-sse/contributors","subscribers_url":"https://api.github.com/repos/hseeberger/akka-sse/subscribers","subscription_url":"https://api.github.com/repos/hseeberger/akka-sse/subscription","commits_url":"https://api.github.com/repos/hseeberger/akka-sse/commits{/sha}","git_commits_url":"https://api.github.com/repos/hseeberger/akka-sse/git/commits{/sha}","comments_url":"https://api.github.com/repos/hseeberger/akka-sse/comments{/number}","issue_comment_url":"https://api.github.com/repos/hseeberger/akka-sse/issues/comments{/number}","contents_url":"https://api.github.com/repos/hseeberger/akka-sse/contents/{+path}","compare_url":"https://api.github.com/repos/hseeberger/akka-sse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hseeberger/akka-sse/merges","archive_url":"https://api.github.com/repos/hseeberger/akka-sse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hseeberger/akka-sse/downloads","issues_url":"https://api.github.com/repos/hseeberger/akka-sse/issues{/number}","pulls_url":"https://api.github.com/repos/hseeberger/akka-sse/pulls{/number}","milestones_url":"https://api.github.com/repos/hseeberger/akka-sse/milestones{/number}","notifications_url":"https://api.github.com/repos/hseeberger/akka-sse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hseeberger/akka-sse/labels{/name}","releases_url":"https://api.github.com/repos/hseeberger/akka-sse/releases{/id}","created_at":"2014-11-15T17:39:54Z","updated_at":"2015-06-09T14:09:00Z","pushed_at":"2015-05-26T19:30:59Z","git_url":"git://github.com/hseeberger/akka-sse.git","ssh_url":"git@github.com:hseeberger/akka-sse.git","clone_url":"https://github.com/hseeberger/akka-sse.git","svn_url":"https://github.com/hseeberger/akka-sse","homepage":null,"size":1024,"stargazers_count":40,"watchers_count":40,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42"},"html":{"href":"https://github.com/hseeberger/akka-sse/pull/42"},"issue":{"href":"https://api.github.com/repos/hseeberger/akka-sse/issues/42"},"comments":{"href":"https://api.github.com/repos/hseeberger/akka-sse/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/hseeberger/akka-sse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hseeberger/akka-sse/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/hseeberger/akka-sse/statuses/4771020550f778a463dfd9e5a2797c07a254b08a"}}}}