Class HttpWebResponse
Handles retrieval of HTTP Response headers, and handles data reads.
Inheritance
System.Object
HttpWebResponse
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()
Namespace: Eclo.nF.SIM800H
Assembly: cs.temp.dll.dll
Syntax
public class HttpWebResponse : IDisposable
Remarks
Implementation follows .NETMF System.Net.HttpWebResponse
Properties
BodyData
Body data, if any, received from the request execution. It's null or empty if the request was performed with the option of not reading the response data.
Declaration
public string BodyData { get; }
Property Value
Type | Description |
---|---|
System.String |
Headers
Headers collection received from the request response. It's empty if the request was performed with the option of not reading the response headers.
Declaration
public WebHeaderCollection Headers { get; set; }
Property Value
Type | Description |
---|---|
WebHeaderCollection |
RequestSuccessful
True if the request was successfully executed.
Declaration
public bool RequestSuccessful { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
StatusCode
HttpStatusCode of the request response
Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode |
Methods
Close()
Declaration
public void Close()
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Finalize()
Declaration
protected void Finalize()
GetResponseStream()
Declaration
public InMemoryRandomAccessStream GetResponseStream()
Returns
Type | Description |
---|---|
InMemoryRandomAccessStream |
Explicit Interface Implementations
IDisposable.Dispose()
Declaration
void IDisposable.Dispose()
Implements
System.IDisposable