wasSharp – Diff between revs 56 and 57

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 56 Rev 57
Line 20... Line 20...
20 // Copyright (C) 2014 Wizardry and Steamworks - License: GNU GPLv3 // 20 // Copyright (C) 2014 Wizardry and Steamworks - License: GNU GPLv3 //
21 /////////////////////////////////////////////////////////////////////////// 21 ///////////////////////////////////////////////////////////////////////////
22 // <summary>A portable HTTP client.</summar> 22 // <summary>A portable HTTP client.</summar>
23 public class wasHTTPClient : IDisposable 23 public class wasHTTPClient : IDisposable
24 { 24 {
25 private HttpClient HTTPClient; 25 private readonly HttpClient HTTPClient;
26 private readonly string MediaType; 26 private readonly string MediaType;
Line 27... Line 27...
27   27  
28 public wasHTTPClient(ProductInfoHeaderValue userAgent, CookieContainer cookieContainer, string mediaType, 28 public wasHTTPClient(ProductInfoHeaderValue userAgent, CookieContainer cookieContainer, string mediaType,
29 uint timeout) : this(userAgent, cookieContainer, mediaType, null, null, timeout) 29 uint timeout) : this(userAgent, cookieContainer, mediaType, null, null, timeout)