{"action":"created","comment":{"url":"https://api.github.com/repos/mrfishball/Swerver/pulls/comments/218443424","pull_request_review_id":156373113,"id":218443424,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODQ0MzQyNA==","diff_hunk":"@@ -0,0 +1,39 @@\n+import Foundation\n+import Socket\n+import SwiftyBeaver\n+\n+let logger = SwiftyBeaver.self\n+\n+public class Swerver {\n+    \n+    public static let bufferSize = Socket.SOCKET_DEFAULT_READ_BUFFER_SIZE\n+    \n+    private let port: Int\n+    private var listenSocket: Socket!\n+    private var continueListening = true\n+    \n+    private let clientRequestHandler = ClientRequestHandler()\n+    private let console = ConsoleDestination()","path":"Sources/SwerverCore/Server/SwerverCore.swift","position":16,"original_position":16,"commit_id":"2c4bcb1551781035bc6a7813c9491696120759e1","original_commit_id":"b1d7582f82db6adc4b952cd27cfbd992b137d90e","user":{"login":"cmvandrevala","id":159011,"node_id":"MDQ6VXNlcjE1OTAxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/159011?v=4","gravatar_id":"","url":"https://api.github.com/users/cmvandrevala","html_url":"https://github.com/cmvandrevala","followers_url":"https://api.github.com/users/cmvandrevala/followers","following_url":"https://api.github.com/users/cmvandrevala/following{/other_user}","gists_url":"https://api.github.com/users/cmvandrevala/gists{/gist_id}","starred_url":"https://api.github.com/users/cmvandrevala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmvandrevala/subscriptions","organizations_url":"https://api.github.com/users/cmvandrevala/orgs","repos_url":"https://api.github.com/users/cmvandrevala/repos","events_url":"https://api.github.com/users/cmvandrevala/events{/privacy}","received_events_url":"https://api.github.com/users/cmvandrevala/received_events","type":"User","site_admin":false},"body":"What is a `ConsoleDestination`?","created_at":"2018-09-18T13:59:08Z","updated_at":"2018-09-18T13:59:52Z","html_url":"https://github.com/mrfishball/Swerver/pull/1#discussion_r218443424","pull_request_url":"https://api.github.com/repos/mrfishball/Swerver/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mrfishball/Swerver/pulls/comments/218443424"},"html":{"href":"https://github.com/mrfishball/Swerver/pull/1#discussion_r218443424"},"pull_request":{"href":"https://api.github.com/repos/mrfishball/Swerver/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mrfishball/Swerver/pulls/1","id":216097461,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MDk3NDYx","html_url":"https://github.com/mrfishball/Swerver/pull/1","diff_url":"https://github.com/mrfishball/Swerver/pull/1.diff","patch_url":"https://github.com/mrfishball/Swerver/pull/1.patch","issue_url":"https://api.github.com/repos/mrfishball/Swerver/issues/1","number":1,"state":"open","locked":false,"title":"All routes 200ok","user":{"login":"mrfishball","id":9084699,"node_id":"MDQ6VXNlcjkwODQ2OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/9084699?v=4","gravatar_id":"","url":"https://api.github.com/users/mrfishball","html_url":"https://github.com/mrfishball","followers_url":"https://api.github.com/users/mrfishball/followers","following_url":"https://api.github.com/users/mrfishball/following{/other_user}","gists_url":"https://api.github.com/users/mrfishball/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfishball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfishball/subscriptions","organizations_url":"https://api.github.com/users/mrfishball/orgs","repos_url":"https://api.github.com/users/mrfishball/repos","events_url":"https://api.github.com/users/mrfishball/events{/privacy}","received_events_url":"https://api.github.com/users/mrfishball/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-17T20:00:39Z","updated_at":"2018-09-18T13:59:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b7e0fd7e0dae76600ef64920ccd6e85bdaa132d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mrfishball/Swerver/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mrfishball/Swerver/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mrfishball/Swerver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrfishball/Swerver/issues/1/comments","statuses_url":"https://api.github.com/repos/mrfishball/Swerver/statuses/2c4bcb1551781035bc6a7813c9491696120759e1","head":{"label":"mrfishball:all-routes-200ok","ref":"all-routes-200ok","sha":"2c4bcb1551781035bc6a7813c9491696120759e1","user":{"login":"mrfishball","id":9084699,"node_id":"MDQ6VXNlcjkwODQ2OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/9084699?v=4","gravatar_id":"","url":"https://api.github.com/users/mrfishball","html_url":"https://github.com/mrfishball","followers_url":"https://api.github.com/users/mrfishball/followers","following_url":"https://api.github.com/users/mrfishball/following{/other_user}","gists_url":"https://api.github.com/users/mrfishball/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfishball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfishball/subscriptions","organizations_url":"https://api.github.com/users/mrfishball/orgs","repos_url":"https://api.github.com/users/mrfishball/repos","events_url":"https://api.github.com/users/mrfishball/events{/privacy}","received_events_url":"https://api.github.com/users/mrfishball/received_events","type":"User","site_admin":false},"repo":{"id":145911320,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5MTEzMjA=","name":"Swerver","full_name":"mrfishball/Swerver","private":false,"owner":{"login":"mrfishball","id":9084699,"node_id":"MDQ6VXNlcjkwODQ2OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/9084699?v=4","gravatar_id":"","url":"https://api.github.com/users/mrfishball","html_url":"https://github.com/mrfishball","followers_url":"https://api.github.com/users/mrfishball/followers","following_url":"https://api.github.com/users/mrfishball/following{/other_user}","gists_url":"https://api.github.com/users/mrfishball/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfishball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfishball/subscriptions","organizations_url":"https://api.github.com/users/mrfishball/orgs","repos_url":"https://api.github.com/users/mrfishball/repos","events_url":"https://api.github.com/users/mrfishball/events{/privacy}","received_events_url":"https://api.github.com/users/mrfishball/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mrfishball/Swerver","description":"A fully functional HTTP Server in Swift.","fork":false,"url":"https://api.github.com/repos/mrfishball/Swerver","forks_url":"https://api.github.com/repos/mrfishball/Swerver/forks","keys_url":"https://api.github.com/repos/mrfishball/Swerver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrfishball/Swerver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrfishball/Swerver/teams","hooks_url":"https://api.github.com/repos/mrfishball/Swerver/hooks","issue_events_url":"https://api.github.com/repos/mrfishball/Swerver/issues/events{/number}","events_url":"https://api.github.com/repos/mrfishball/Swerver/events","assignees_url":"https://api.github.com/repos/mrfishball/Swerver/assignees{/user}","branches_url":"https://api.github.com/repos/mrfishball/Swerver/branches{/branch}","tags_url":"https://api.github.com/repos/mrfishball/Swerver/tags","blobs_url":"https://api.github.com/repos/mrfishball/Swerver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrfishball/Swerver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrfishball/Swerver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrfishball/Swerver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrfishball/Swerver/statuses/{sha}","languages_url":"https://api.github.com/repos/mrfishball/Swerver/languages","stargazers_url":"https://api.github.com/repos/mrfishball/Swerver/stargazers","contributors_url":"https://api.github.com/repos/mrfishball/Swerver/contributors","subscribers_url":"https://api.github.com/repos/mrfishball/Swerver/subscribers","subscription_url":"https://api.github.com/repos/mrfishball/Swerver/subscription","commits_url":"https://api.github.com/repos/mrfishball/Swerver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrfishball/Swerver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrfishball/Swerver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrfishball/Swerver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrfishball/Swerver/contents/{+path}","compare_url":"https://api.github.com/repos/mrfishball/Swerver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrfishball/Swerver/merges","archive_url":"https://api.github.com/repos/mrfishball/Swerver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrfishball/Swerver/downloads","issues_url":"https://api.github.com/repos/mrfishball/Swerver/issues{/number}","pulls_url":"https://api.github.com/repos/mrfishball/Swerver/pulls{/number}","milestones_url":"https://api.github.com/repos/mrfishball/Swerver/milestones{/number}","notifications_url":"https://api.github.com/repos/mrfishball/Swerver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrfishball/Swerver/labels{/name}","releases_url":"https://api.github.com/repos/mrfishball/Swerver/releases{/id}","deployments_url":"https://api.github.com/repos/mrfishball/Swerver/deployments","created_at":"2018-08-23T21:57:27Z","updated_at":"2018-09-10T14:47:30Z","pushed_at":"2018-09-18T13:54:45Z","git_url":"git://github.com/mrfishball/Swerver.git","ssh_url":"git@github.com:mrfishball/Swerver.git","clone_url":"https://github.com/mrfishball/Swerver.git","svn_url":"https://github.com/mrfishball/Swerver","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mrfishball:master","ref":"master","sha":"7c6bfcf43a86152209f0677d0c5836e1e16a1ef6","user":{"login":"mrfishball","id":9084699,"node_id":"MDQ6VXNlcjkwODQ2OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/9084699?v=4","gravatar_id":"","url":"https://api.github.com/users/mrfishball","html_url":"https://github.com/mrfishball","followers_url":"https://api.github.com/users/mrfishball/followers","following_url":"https://api.github.com/users/mrfishball/following{/other_user}","gists_url":"https://api.github.com/users/mrfishball/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfishball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfishball/subscriptions","organizations_url":"https://api.github.com/users/mrfishball/orgs","repos_url":"https://api.github.com/users/mrfishball/repos","events_url":"https://api.github.com/users/mrfishball/events{/privacy}","received_events_url":"https://api.github.com/users/mrfishball/received_events","type":"User","site_admin":false},"repo":{"id":145911320,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5MTEzMjA=","name":"Swerver","full_name":"mrfishball/Swerver","private":false,"owner":{"login":"mrfishball","id":9084699,"node_id":"MDQ6VXNlcjkwODQ2OTk=","avatar_url":"https://avatars3.githubusercontent.com/u/9084699?v=4","gravatar_id":"","url":"https://api.github.com/users/mrfishball","html_url":"https://github.com/mrfishball","followers_url":"https://api.github.com/users/mrfishball/followers","following_url":"https://api.github.com/users/mrfishball/following{/other_user}","gists_url":"https://api.github.com/users/mrfishball/gists{/gist_id}","starred_url":"https://api.github.com/users/mrfishball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrfishball/subscriptions","organizations_url":"https://api.github.com/users/mrfishball/orgs","repos_url":"https://api.github.com/users/mrfishball/repos","events_url":"https://api.github.com/users/mrfishball/events{/privacy}","received_events_url":"https://api.github.com/users/mrfishball/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mrfishball/Swerver","description":"A fully functional HTTP Server in Swift.","fork":false,"url":"https://api.github.com/repos/mrfishball/Swerver","forks_url":"https://api.github.com/repos/mrfishball/Swerver/forks","keys_url":"https://api.github.com/repos/mrfishball/Swerver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrfishball/Swerver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrfishball/Swerver/teams","hooks_url":"https://api.github.com/repos/mrfishball/Swerver/hooks","issue_events_url":"https://api.github.com/repos/mrfishball/Swerver/issues/events{/number}","events_url":"https://api.github.com/repos/mrfishball/Swerver/events","assignees_url":"https://api.github.com/repos/mrfishball/Swerver/assignees{/user}","branches_url":"https://api.github.com/repos/mrfishball/Swerver/branches{/branch}","tags_url":"https://api.github.com/repos/mrfishball/Swerver/tags","blobs_url":"https://api.github.com/repos/mrfishball/Swerver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrfishball/Swerver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrfishball/Swerver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrfishball/Swerver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrfishball/Swerver/statuses/{sha}","languages_url":"https://api.github.com/repos/mrfishball/Swerver/languages","stargazers_url":"https://api.github.com/repos/mrfishball/Swerver/stargazers","contributors_url":"https://api.github.com/repos/mrfishball/Swerver/contributors","subscribers_url":"https://api.github.com/repos/mrfishball/Swerver/subscribers","subscription_url":"https://api.github.com/repos/mrfishball/Swerver/subscription","commits_url":"https://api.github.com/repos/mrfishball/Swerver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrfishball/Swerver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrfishball/Swerver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrfishball/Swerver/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrfishball/Swerver/contents/{+path}","compare_url":"https://api.github.com/repos/mrfishball/Swerver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrfishball/Swerver/merges","archive_url":"https://api.github.com/repos/mrfishball/Swerver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrfishball/Swerver/downloads","issues_url":"https://api.github.com/repos/mrfishball/Swerver/issues{/number}","pulls_url":"https://api.github.com/repos/mrfishball/Swerver/pulls{/number}","milestones_url":"https://api.github.com/repos/mrfishball/Swerver/milestones{/number}","notifications_url":"https://api.github.com/repos/mrfishball/Swerver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrfishball/Swerver/labels{/name}","releases_url":"https://api.github.com/repos/mrfishball/Swerver/releases{/id}","deployments_url":"https://api.github.com/repos/mrfishball/Swerver/deployments","created_at":"2018-08-23T21:57:27Z","updated_at":"2018-09-10T14:47:30Z","pushed_at":"2018-09-18T13:54:45Z","git_url":"git://github.com/mrfishball/Swerver.git","ssh_url":"git@github.com:mrfishball/Swerver.git","clone_url":"https://github.com/mrfishball/Swerver.git","svn_url":"https://github.com/mrfishball/Swerver","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrfishball/Swerver/pulls/1"},"html":{"href":"https://github.com/mrfishball/Swerver/pull/1"},"issue":{"href":"https://api.github.com/repos/mrfishball/Swerver/issues/1"},"comments":{"href":"https://api.github.com/repos/mrfishball/Swerver/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mrfishball/Swerver/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mrfishball/Swerver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrfishball/Swerver/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mrfishball/Swerver/statuses/2c4bcb1551781035bc6a7813c9491696120759e1"}},"author_association":"OWNER"}}
{"actor":{"display_login":"cmvandrevala"}}