wasSharp – Diff between revs 39 and 48

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 39 Rev 48
Line 32... Line 32...
32 public wasHTTPClient(ProductInfoHeaderValue userAgent, string mediaType, uint timeout) 32 public wasHTTPClient(ProductInfoHeaderValue userAgent, string mediaType, uint timeout)
33 : this(userAgent, new CookieContainer(), mediaType, null, null, timeout) 33 : this(userAgent, new CookieContainer(), mediaType, null, null, timeout)
34 { 34 {
35 } 35 }
Line -... Line 36...
-   36  
-   37 public wasHTTPClient(ProductInfoHeaderValue userAgent, string mediaType)
-   38 : this(userAgent, new CookieContainer(), mediaType, null, null, 60000)
-   39 {
-   40 }
36   41  
37 public wasHTTPClient(ProductInfoHeaderValue userAgent, CookieContainer cookieContainer, string mediaType, 42 public wasHTTPClient(ProductInfoHeaderValue userAgent, CookieContainer cookieContainer, string mediaType,
38 AuthenticationHeaderValue authentication, Dictionary<string, string> headers, uint timeout) 43 AuthenticationHeaderValue authentication, Dictionary<string, string> headers, uint timeout)
39 { 44 {
40 var HTTPClientHandler = new HttpClientHandler 45 var HTTPClientHandler = new HttpClientHandler