Class HttpWebResponseAdapter
Inheritance
System.Object
HttpWebResponseAdapter
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class HttpWebResponseAdapter : IHttpWebResponse, IDisposable
Constructors
HttpWebResponseAdapter(WebResponse)
Declaration
public HttpWebResponseAdapter(WebResponse response)
Parameters
Type |
Name |
Description |
System.Net.WebResponse |
response |
|
Properties
CharacterSet
Declaration
public string CharacterSet { get; }
Property Value
Type |
Description |
System.String |
|
ContentEncoding
Declaration
public string ContentEncoding { get; }
Property Value
Type |
Description |
System.String |
|
ContentLength
Declaration
public long ContentLength { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
ContentType
Declaration
public string ContentType { get; set; }
Property Value
Type |
Description |
System.String |
|
Cookies
Declaration
public CookieCollection Cookies { get; set; }
Property Value
Type |
Description |
System.Net.CookieCollection |
|
Declaration
public WebHeaderCollection Headers { get; }
Property Value
Type |
Description |
System.Net.WebHeaderCollection |
|
IsFromCache
Declaration
public bool IsFromCache { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsMutuallyAuthenticated
Declaration
public bool IsMutuallyAuthenticated { get; }
Property Value
Type |
Description |
System.Boolean |
|
LastModified
Declaration
public DateTime LastModified { get; }
Property Value
Type |
Description |
System.DateTime |
|
Method
Declaration
public string Method { get; }
Property Value
Type |
Description |
System.String |
|
ProtocolVersion
Declaration
public Version ProtocolVersion { get; }
Property Value
Type |
Description |
System.Version |
|
ResponseUri
Declaration
public Uri ResponseUri { get; }
Property Value
Type |
Description |
System.Uri |
|
Server
Declaration
public string Server { get; }
Property Value
Type |
Description |
System.String |
|
StatusCode
Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type |
Description |
System.Net.HttpStatusCode |
|
StatusDescription
Declaration
public string StatusDescription { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Close()
Declaration
Dispose()
Declaration
Declaration
public string GetResponseHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
Type |
Description |
System.String |
|
GetResponseStream()
Declaration
public Stream GetResponseStream()
Returns
Type |
Description |
System.IO.Stream |
|
Implements
System.IDisposable