-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathIWebClient.cs
More file actions
165 lines (158 loc) · 9.58 KB
/
IWebClient.cs
File metadata and controls
165 lines (158 loc) · 9.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
using System;
using System.Collections.Specialized;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Net.Cache;
using System.Text;
namespace Gsemac.Net {
public interface IWebClient :
IDisposable {
/// <inheritdoc cref="WebClient.BaseAddress"/>
string BaseAddress { get; set; }
/// <inheritdoc cref="WebClient.Credentials"/>
ICredentials Credentials { get; set; }
/// <inheritdoc cref="WebClient.UseDefaultCredentials"/>
bool UseDefaultCredentials { get; set; }
/// <inheritdoc cref="WebClient.Headers"/>
WebHeaderCollection Headers { get; set; }
/// <inheritdoc cref="WebClient.QueryString"/>
NameValueCollection QueryString { get; set; }
/// <inheritdoc cref="WebClient.ResponseHeaders"/>
WebHeaderCollection ResponseHeaders { get; }
/// <inheritdoc cref="WebClient.Proxy"/>
IWebProxy Proxy { get; set; }
/// <inheritdoc cref="WebClient.CachePolicy"/>
RequestCachePolicy CachePolicy { get; set; }
/// <inheritdoc cref="WebClient.Encoding"/>
Encoding Encoding { get; set; }
/// <inheritdoc cref="WebClient.IsBusy"/>
bool IsBusy { get; }
/// <inheritdoc cref="WebClient.OpenWriteCompleted"/>
event OpenWriteCompletedEventHandler OpenWriteCompleted;
/// <inheritdoc cref="WebClient.DownloadStringCompleted"/>
event DownloadStringCompletedEventHandler DownloadStringCompleted;
/// <inheritdoc cref="WebClient.DownloadDataCompleted"/>
event DownloadDataCompletedEventHandler DownloadDataCompleted;
/// <inheritdoc cref="WebClient.DownloadFileCompleted"/>
event AsyncCompletedEventHandler DownloadFileCompleted;
/// <inheritdoc cref="WebClient.UploadStringCompleted"/>
event UploadStringCompletedEventHandler UploadStringCompleted;
/// <inheritdoc cref="WebClient.UploadDataCompleted"/>
event UploadDataCompletedEventHandler UploadDataCompleted;
/// <inheritdoc cref="WebClient.UploadFileCompleted"/>
event UploadFileCompletedEventHandler UploadFileCompleted;
/// <inheritdoc cref="WebClient.UploadValuesCompleted"/>
event UploadValuesCompletedEventHandler UploadValuesCompleted;
/// <inheritdoc cref="WebClient.OpenReadCompleted"/>
event OpenReadCompletedEventHandler OpenReadCompleted;
/// <inheritdoc cref="WebClient.DownloadProgressChanged"/>
event System.Net.DownloadProgressChangedEventHandler DownloadProgressChanged;
/// <inheritdoc cref="WebClient.UploadProgressChanged"/>
event UploadProgressChangedEventHandler UploadProgressChanged;
/// <inheritdoc cref="WebClient.CancelAsync"/>
void CancelAsync();
/// <inheritdoc cref="WebClient.DownloadData(string)"/>
byte[] DownloadData(string address);
/// <inheritdoc cref="WebClient.DownloadData(Uri)"/>
byte[] DownloadData(Uri address);
/// <inheritdoc cref="WebClient.DownloadDataAsync(Uri)"/>
void DownloadDataAsync(Uri address);
/// <inheritdoc cref="WebClient.DownloadDataAsync(Uri, object)"/>
void DownloadDataAsync(Uri address, object userToken);
/// <inheritdoc cref="WebClient.DownloadFile(string, string)"/>
void DownloadFile(string address, string fileName);
/// <inheritdoc cref="WebClient.DownloadFile(Uri, string)"/>
void DownloadFile(Uri address, string fileName);
/// <inheritdoc cref="WebClient.DownloadFileAsync(Uri, string, object)"/>
void DownloadFileAsync(Uri address, string fileName, object userToken);
/// <inheritdoc cref="WebClient.DownloadFileAsync(Uri, string)"/>
void DownloadFileAsync(Uri address, string fileName);
/// <inheritdoc cref="WebClient.DownloadString(string)"/>
string DownloadString(string address);
/// <inheritdoc cref="WebClient.DownloadString(Uri)"/>
string DownloadString(Uri address);
/// <inheritdoc cref="WebClient.DownloadStringAsync(Uri, object)"/>
void DownloadStringAsync(Uri address, object userToken);
/// <inheritdoc cref="WebClient.DownloadStringAsync(Uri)"/>
void DownloadStringAsync(Uri address);
/// <inheritdoc cref="WebClient.OpenRead(string)"/>
Stream OpenRead(string address);
/// <inheritdoc cref="WebClient.OpenRead(Uri)"/>
Stream OpenRead(Uri address);
/// <inheritdoc cref="WebClient.OpenReadAsync(Uri)"/>
void OpenReadAsync(Uri address);
/// <inheritdoc cref="WebClient.OpenReadAsync(Uri, object)"/>
void OpenReadAsync(Uri address, object userToken);
/// <inheritdoc cref="WebClient.OpenWrite(string)"/>
Stream OpenWrite(string address);
/// <inheritdoc cref="WebClient.OpenWrite(string, string)"/>
Stream OpenWrite(string address, string method);
/// <inheritdoc cref="WebClient.OpenWrite(Uri, string)"/>
Stream OpenWrite(Uri address, string method);
/// <inheritdoc cref="WebClient.OpenWrite(Uri)"/>
Stream OpenWrite(Uri address);
/// <inheritdoc cref="WebClient.OpenWriteAsync(Uri)"/>
void OpenWriteAsync(Uri address);
/// <inheritdoc cref="WebClient.OpenWriteAsync(Uri, string, object)"/>
void OpenWriteAsync(Uri address, string method, object userToken);
/// <inheritdoc cref="WebClient.OpenWriteAsync(Uri, string)"/>
void OpenWriteAsync(Uri address, string method);
/// <inheritdoc cref="WebClient.UploadData(string, byte[])"/>
byte[] UploadData(string address, byte[] data);
/// <inheritdoc cref="WebClient.UploadData(string, string, byte[])"/>
byte[] UploadData(string address, string method, byte[] data);
/// <inheritdoc cref="WebClient.UploadData(Uri, string, byte[])"/>
byte[] UploadData(Uri address, string method, byte[] data);
/// <inheritdoc cref="WebClient.UploadData(Uri, byte[])"/>
byte[] UploadData(Uri address, byte[] data);
/// <inheritdoc cref="WebClient.UploadDataAsync(Uri, string, byte[], object)"/>
void UploadDataAsync(Uri address, string method, byte[] data, object userToken);
/// <inheritdoc cref="WebClient.UploadDataAsync(Uri, byte[])"/>
void UploadDataAsync(Uri address, byte[] data);
/// <inheritdoc cref="WebClient.UploadDataAsync(Uri, string, byte[])"/>
void UploadDataAsync(Uri address, string method, byte[] data);
/// <inheritdoc cref="WebClient.UploadFile(string, string, string)"/>
byte[] UploadFile(string address, string method, string fileName);
/// <inheritdoc cref="WebClient.UploadFile(Uri, string, string)"/>
byte[] UploadFile(Uri address, string method, string fileName);
/// <inheritdoc cref="WebClient.UploadFile(Uri, string)"/>
byte[] UploadFile(Uri address, string fileName);
/// <inheritdoc cref="WebClient.UploadFile(string, string)"/>
byte[] UploadFile(string address, string fileName);
/// <inheritdoc cref="WebClient.UploadFileAsync(Uri, string)"/>
void UploadFileAsync(Uri address, string fileName);
/// <inheritdoc cref="WebClient.UploadFileAsync(Uri, string, string)"/>
void UploadFileAsync(Uri address, string method, string fileName);
/// <inheritdoc cref="WebClient.UploadFileAsync(Uri, string, string, object)"/>
void UploadFileAsync(Uri address, string method, string fileName, object userToken);
/// <inheritdoc cref="WebClient.UploadString(Uri, string, string)"/>
string UploadString(Uri address, string method, string data);
/// <inheritdoc cref="WebClient.UploadString(string, string, string)"/>
string UploadString(string address, string method, string data);
/// <inheritdoc cref="WebClient.UploadString(string, string)"/>
string UploadString(string address, string data);
/// <inheritdoc cref="WebClient.UploadString(Uri, string)"/>
string UploadString(Uri address, string data);
/// <inheritdoc cref="WebClient.UploadStringAsync(Uri, string, string, object)"/>
void UploadStringAsync(Uri address, string method, string data, object userToken);
/// <inheritdoc cref="WebClient.UploadStringAsync(Uri, string, string)"/>
void UploadStringAsync(Uri address, string method, string data);
/// <inheritdoc cref="WebClient.UploadStringAsync(Uri, string)"/>
void UploadStringAsync(Uri address, string data);
/// <inheritdoc cref="WebClient.UploadValues(string, string, NameValueCollection)"/>
byte[] UploadValues(string address, string method, NameValueCollection data);
/// <inheritdoc cref="WebClient.UploadValues(Uri, NameValueCollection)"/>
byte[] UploadValues(Uri address, NameValueCollection data);
/// <inheritdoc cref="WebClient.UploadValues(Uri, string, NameValueCollection)"/>
byte[] UploadValues(Uri address, string method, NameValueCollection data);
/// <inheritdoc cref="WebClient.UploadValues(string, NameValueCollection)"/>
byte[] UploadValues(string address, NameValueCollection data);
/// <inheritdoc cref="WebClient.UploadValuesAsync(Uri, string, NameValueCollection)"/>
void UploadValuesAsync(Uri address, string method, NameValueCollection data);
/// <inheritdoc cref="WebClient.UploadValuesAsync(Uri, NameValueCollection)"/>
void UploadValuesAsync(Uri address, NameValueCollection data);
/// <inheritdoc cref="WebClient.UploadValuesAsync(Uri, string, NameValueCollection, object)"/>
void UploadValuesAsync(Uri address, string method, NameValueCollection data, object userToken);
}
}