Skip to content

Commit 548bdb5

Browse files
committed
Merge branch 'http-timeout-param'
2 parents 2fee721 + f633ac1 commit 548bdb5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CSharpHTTPClient/Client.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ public class Client : DynamicObject
6868
public string Version;
6969
public string UrlPath;
7070
public string MediaType;
71+
<<<<<<< HEAD
7172
public TimeSpan Timeout;
73+
=======
74+
public TimeSpan Timeout;
75+
>>>>>>> a01c011e11a9159b01b7e9147adb4f612defe718
7276
public enum Methods
7377
{
7478
DELETE, GET, PATCH, POST, PUT
@@ -94,7 +98,11 @@ public Client(string host, Dictionary<string,string> requestHeaders = null, stri
9498
}
9599
Version = (version != null) ? version : null;
96100
UrlPath = (urlPath != null) ? urlPath : null;
101+
<<<<<<< HEAD
97102
Timeout = (timeOut != null) ? (TimeSpan)timeOut : TimeSpan.FromSeconds(TimeoutDefault);
103+
=======
104+
Timeout = (timeOut != null) ? (TimeSpan)timeOut : TimeSpan.FromSeconds(10);
105+
>>>>>>> a01c011e11a9159b01b7e9147adb4f612defe718
98106
}
99107

100108
/// <summary>

0 commit comments

Comments
 (0)