wasSharp – Diff between revs 7 and 8
?pathlinks?
Rev 7 | Rev 8 | |||
---|---|---|---|---|
Line 103... | Line 103... | |||
103 | public class wasHTTPClient |
103 | public class wasHTTPClient |
|
104 | { |
104 | { |
|
105 | private readonly HttpClient HTTPClient; |
105 | private readonly HttpClient HTTPClient; |
|
106 | private readonly string MediaType; |
106 | private readonly string MediaType; |
|
Line -... | Line 107... | |||
- | 107 | |
||
- | 108 | public wasHTTPClient(ProductInfoHeaderValue userAgent, string mediaType, uint timeout) : this(userAgent, new CookieContainer(), mediaType, null, null, timeout) |
||
- | 109 | { |
||
- | 110 | } |
||
107 | |
111 | |
|
108 | public wasHTTPClient(ProductInfoHeaderValue userAgent, CookieContainer cookieContainer, string mediaType, |
112 | public wasHTTPClient(ProductInfoHeaderValue userAgent, CookieContainer cookieContainer, string mediaType, |
|
109 | AuthenticationHeaderValue authentication, Dictionary<string, string> headers, uint timeout) |
113 | AuthenticationHeaderValue authentication, Dictionary<string, string> headers, uint timeout) |
|
110 | { |
114 | { |
|
111 | var HTTPClientHandler = new HttpClientHandler |
115 | var HTTPClientHandler = new HttpClientHandler |