{"action":"created","issue":{"url":"https://api.github.com/repos/phly/http/issues/67","labels_url":"https://api.github.com/repos/phly/http/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/phly/http/issues/67/comments","events_url":"https://api.github.com/repos/phly/http/issues/67/events","html_url":"https://github.com/phly/http/pull/67","id":77364354,"number":67,"title":"[WIP] Message serialization and response emitters","user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phly/http/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phly/http/milestones/11","html_url":"https://github.com/phly/http/milestones/0.14.0","labels_url":"https://api.github.com/repos/phly/http/milestones/11/labels","id":1114118,"number":11,"title":"0.14.0","description":null,"creator":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-05-17T18:21:05Z","updated_at":"2015-05-17T18:21:05Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-17T18:20:54Z","updated_at":"2015-05-17T18:39:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phly/http/pulls/67","html_url":"https://github.com/phly/http/pull/67","diff_url":"https://github.com/phly/http/pull/67.diff","patch_url":"https://github.com/phly/http/pull/67.patch"},"body":"This pull request is a response to #64. It implements the following:\r\n\r\n- [x] Response emitter interface\r\n- [x] SAPI implementation of the response emitter interface\r\n- [x] Modification of `Server` to consume an emitter interface to emit a response.\r\n- [x] Response serialization interface\r\n- [x] Implementation of response serialization\r\n- [x] Request serialization interface\r\n- [x] Implementation of request serialization\r\n- [ ] Response deserialization (`fromString`)\r\n- [ ] Request deserialization (`fromString`)\r\n\r\nThese features should enable the following use cases:\r\n\r\n- Ability to emit responses in SAPI environments without the use of `Server`.\r\n- Ability to emit responses in non-SAPI environments via alternate emitter implementations.\r\n- Ability to represent messages as strings (e.g., for logging or debugging purposes).\r\n- Ability to accept messages as strings and cast them to appropriate instances."},"comment":{"url":"https://api.github.com/repos/phly/http/issues/comments/102833921","html_url":"https://github.com/phly/http/pull/67#issuecomment-102833921","issue_url":"https://api.github.com/repos/phly/http/issues/67","id":102833921,"user":{"login":"trowski","id":1628287,"avatar_url":"https://avatars.githubusercontent.com/u/1628287?v=3","gravatar_id":"","url":"https://api.github.com/users/trowski","html_url":"https://github.com/trowski","followers_url":"https://api.github.com/users/trowski/followers","following_url":"https://api.github.com/users/trowski/following{/other_user}","gists_url":"https://api.github.com/users/trowski/gists{/gist_id}","starred_url":"https://api.github.com/users/trowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trowski/subscriptions","organizations_url":"https://api.github.com/users/trowski/orgs","repos_url":"https://api.github.com/users/trowski/repos","events_url":"https://api.github.com/users/trowski/events{/privacy}","received_events_url":"https://api.github.com/users/trowski/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T18:39:41Z","updated_at":"2015-05-17T18:39:41Z","body":"For the response and request deserialization, were you thinking of having a class (or classes) similar to this: <https://github.com/icicleio/Http/blob/master/src/Parser/Parser.php>?"}}