-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathIWebResponse.cs
29 lines (23 loc) · 888 Bytes
/
IWebResponse.cs
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
using System;
using System.IO;
using System.Net;
namespace Gsemac.Net {
public interface IWebResponse {
/// <inheritdoc cref="WebResponse.IsFromCache"/>
bool IsFromCache { get; }
/// <inheritdoc cref="WebResponse.IsMutuallyAuthenticated"/>
bool IsMutuallyAuthenticated { get; }
/// <inheritdoc cref="WebResponse.ContentLength"/>
long ContentLength { get; set; }
/// <inheritdoc cref="WebResponse.ContentType"/>
string ContentType { get; set; }
/// <inheritdoc cref="WebResponse.ResponseUri"/>
Uri ResponseUri { get; }
/// <inheritdoc cref="WebResponse.Headers"/>
WebHeaderCollection Headers { get; }
/// <inheritdoc cref="WebResponse.Close"/>
void Close();
/// <inheritdoc cref="WebResponse.GetResponseStream"/>
Stream GetResponseStream();
}
}