Skip to content

Commit 67d1d7c

Browse files
committed
Added TimeoutDefault value to 10 seconds
1 parent 4b21cce commit 67d1d7c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CSharpHTTPClient/Client.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,8 @@ public class Client : DynamicObject
6868
public string Version;
6969
public string UrlPath;
7070
public string MediaType;
71-
<<<<<<< HEAD
72-
public TimeSpan Timeout;
73-
=======
7471
public TimeSpan Timeout;
75-
>>>>>>> a01c011e11a9159b01b7e9147adb4f612defe718
72+
7673
public enum Methods
7774
{
7875
DELETE, GET, PATCH, POST, PUT
@@ -98,11 +95,7 @@ public Client(string host, Dictionary<string,string> requestHeaders = null, stri
9895
}
9996
Version = (version != null) ? version : null;
10097
UrlPath = (urlPath != null) ? urlPath : null;
101-
<<<<<<< HEAD
10298
Timeout = (timeOut != null) ? (TimeSpan)timeOut : TimeSpan.FromSeconds(TimeoutDefault);
103-
=======
104-
Timeout = (timeOut != null) ? (TimeSpan)timeOut : TimeSpan.FromSeconds(10);
105-
>>>>>>> a01c011e11a9159b01b7e9147adb4f612defe718
10699
}
107100

108101
/// <summary>

0 commit comments

Comments
 (0)