{"action":"created","comment":{"url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/comments/79272219","id":79272219,"diff_hunk":"@@ -15,10 +15,10 @@\n \n namespace Exceptionless.Submission {\n     public class DefaultSubmissionClient : ISubmissionClient, IDisposable {\n-        private readonly HttpClient _client;\n+        private readonly Lazy<HttpClient> _client;\n \n         public DefaultSubmissionClient(ExceptionlessConfiguration config) {\n-            _client = CreateHttpClient(config.UserAgent);\n+            _client = new Lazy<HttpClient>(() => CreateHttpClient(config));\n         }","path":"src/Exceptionless/Submission/DefaultSubmissionClient.cs","position":10,"original_position":10,"commit_id":"2a76628825e3680ec9c98622193b9119f0fcf67b","original_commit_id":"2a76628825e3680ec9c98622193b9119f0fcf67b","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"body":"This will allow us to lazy create the client and allow people to create a custom implementation (this was running before the derived constructor was run).","created_at":"2016-09-17T01:04:07Z","updated_at":"2016-09-17T01:04:07Z","html_url":"https://github.com/exceptionless/Exceptionless.Net/pull/123#discussion_r79272219","pull_request_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/comments/79272219"},"html":{"href":"https://github.com/exceptionless/Exceptionless.Net/pull/123#discussion_r79272219"},"pull_request":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123","id":85658707,"html_url":"https://github.com/exceptionless/Exceptionless.Net/pull/123","diff_url":"https://github.com/exceptionless/Exceptionless.Net/pull/123.diff","patch_url":"https://github.com/exceptionless/Exceptionless.Net/pull/123.patch","issue_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/123","number":123,"state":"open","locked":false,"title":"Fixed a bug that was causing a format exception & proxy support","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-17T01:00:14Z","updated_at":"2016-09-17T01:04:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39892c6b4071c1ddfc8fb026ab68c33d79a333cc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123/commits","review_comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123/comments","review_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/123/comments","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/statuses/2a76628825e3680ec9c98622193b9119f0fcf67b","head":{"label":"exceptionless:bug/format-exception","ref":"bug/format-exception","sha":"2a76628825e3680ec9c98622193b9119f0fcf67b","user":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"repo":{"id":31493003,"name":"Exceptionless.Net","full_name":"exceptionless/Exceptionless.Net","owner":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exceptionless/Exceptionless.Net","description":"Exceptionless clients for the .NET platform","fork":false,"url":"https://api.github.com/repos/exceptionless/Exceptionless.Net","forks_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/forks","keys_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/teams","hooks_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/hooks","issue_events_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/events{/number}","events_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/events","assignees_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/assignees{/user}","branches_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/branches{/branch}","tags_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/tags","blobs_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/refs{/sha}","trees_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/statuses/{sha}","languages_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/languages","stargazers_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/stargazers","contributors_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/contributors","subscribers_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/subscribers","subscription_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/subscription","commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/commits{/sha}","git_commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/commits{/sha}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/comments{/number}","issue_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/comments{/number}","contents_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/contents/{+path}","compare_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/merges","archive_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/downloads","issues_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues{/number}","pulls_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls{/number}","milestones_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/milestones{/number}","notifications_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/labels{/name}","releases_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/releases{/id}","deployments_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/deployments","created_at":"2015-03-01T10:14:08Z","updated_at":"2016-09-16T17:10:18Z","pushed_at":"2016-09-17T01:00:14Z","git_url":"git://github.com/exceptionless/Exceptionless.Net.git","ssh_url":"git@github.com:exceptionless/Exceptionless.Net.git","clone_url":"https://github.com/exceptionless/Exceptionless.Net.git","svn_url":"https://github.com/exceptionless/Exceptionless.Net","homepage":"http://exceptionless.com","size":3135,"stargazers_count":43,"watchers_count":43,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":15,"forks":36,"open_issues":15,"watchers":43,"default_branch":"master"}},"base":{"label":"exceptionless:master","ref":"master","sha":"fdaaa84febd6e2e855a00f9b4094145900d08103","user":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"repo":{"id":31493003,"name":"Exceptionless.Net","full_name":"exceptionless/Exceptionless.Net","owner":{"login":"exceptionless","id":5912469,"avatar_url":"https://avatars.githubusercontent.com/u/5912469?v=3","gravatar_id":"","url":"https://api.github.com/users/exceptionless","html_url":"https://github.com/exceptionless","followers_url":"https://api.github.com/users/exceptionless/followers","following_url":"https://api.github.com/users/exceptionless/following{/other_user}","gists_url":"https://api.github.com/users/exceptionless/gists{/gist_id}","starred_url":"https://api.github.com/users/exceptionless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exceptionless/subscriptions","organizations_url":"https://api.github.com/users/exceptionless/orgs","repos_url":"https://api.github.com/users/exceptionless/repos","events_url":"https://api.github.com/users/exceptionless/events{/privacy}","received_events_url":"https://api.github.com/users/exceptionless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exceptionless/Exceptionless.Net","description":"Exceptionless clients for the .NET platform","fork":false,"url":"https://api.github.com/repos/exceptionless/Exceptionless.Net","forks_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/forks","keys_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/teams","hooks_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/hooks","issue_events_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/events{/number}","events_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/events","assignees_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/assignees{/user}","branches_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/branches{/branch}","tags_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/tags","blobs_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/refs{/sha}","trees_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/statuses/{sha}","languages_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/languages","stargazers_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/stargazers","contributors_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/contributors","subscribers_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/subscribers","subscription_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/subscription","commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/commits{/sha}","git_commits_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/git/commits{/sha}","comments_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/comments{/number}","issue_comment_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/comments{/number}","contents_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/contents/{+path}","compare_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/merges","archive_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/downloads","issues_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues{/number}","pulls_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls{/number}","milestones_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/milestones{/number}","notifications_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/labels{/name}","releases_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/releases{/id}","deployments_url":"https://api.github.com/repos/exceptionless/Exceptionless.Net/deployments","created_at":"2015-03-01T10:14:08Z","updated_at":"2016-09-16T17:10:18Z","pushed_at":"2016-09-17T01:00:14Z","git_url":"git://github.com/exceptionless/Exceptionless.Net.git","ssh_url":"git@github.com:exceptionless/Exceptionless.Net.git","clone_url":"https://github.com/exceptionless/Exceptionless.Net.git","svn_url":"https://github.com/exceptionless/Exceptionless.Net","homepage":"http://exceptionless.com","size":3135,"stargazers_count":43,"watchers_count":43,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":15,"forks":36,"open_issues":15,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123"},"html":{"href":"https://github.com/exceptionless/Exceptionless.Net/pull/123"},"issue":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/123"},"comments":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/exceptionless/Exceptionless.Net/statuses/2a76628825e3680ec9c98622193b9119f0fcf67b"}}}}
{"actor":{"display_login":"niemyjski"}}