Summary
Encapsulates the response received by an HTTP server after a call to
HClient.Get(string, params HArg[]),
HClient.Post(string, params HArg[]) or related methods.
Constructors
|
Constructs a new instance of HResponse by reading all data from the response stream of the
specified HttpWebResponse object and closing it. |
Instance methods
HResponse | |
Throws an exception if the status code of the response is not the specified expected status code. |
Instance properties
byte[] | | The raw content of the response. |
JsonValue | | The content of the response, parsed as JSON. |
string | | The content of the response, converted to a string from UTF-8. |
WebHeaderCollection | | Gets a collection containing response headers. |
string | | Specifies the location this response is redirecting to or was redirected to. |
HttpStatusCode | | The status code of the response. |