Skip to content

Commit 1bbd9e8

Browse files
authored
Move httpclient
1 parent 5488b5f commit 1bbd9e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CSharpHTTPClient/Client.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
namespace SendGrid.CSharp.HTTP.Client
1414
{
1515
public class Response
16-
{
17-
private static HttpClient _httpClient = new HttpClient();
16+
{
1817
public HttpStatusCode StatusCode;
1918
public HttpContent Body;
2019
public HttpResponseHeaders Headers;
@@ -64,6 +63,7 @@ public virtual Dictionary<string, string> DeserializeResponseHeaders(HttpRespons
6463

6564
public class Client : DynamicObject
6665
{
66+
private static HttpClient _httpClient = new HttpClient();
6767
public string Host;
6868
public Dictionary <string,string> RequestHeaders;
6969
public string Version;

0 commit comments

Comments
 (0)