Class HttpResults
Class for returning the results of an HTTP request
Inherited Members
Namespace: HttpUtils
Assembly: Ng911Lib.dll
Syntax
public class HttpResults
Fields
| Edit this page View SourceBody
Contains the body of the response message or null if there was no response body.
Declaration
public string Body
Field Value
Type | Description |
---|---|
string |
ContentType
Contains the value of the Content-Type header. Set to null if the response did not contain a body.
Declaration
public string ContentType
Field Value
Type | Description |
---|---|
string |
Excpt
Contains an Exception object if an exception occurred. If this member is non-null then none of the other members are valid.
Declaration
public Exception Excpt
Field Value
Type | Description |
---|---|
Exception |
Reason
Reason phrase that was returned in the HTTP response
Declaration
public string Reason
Field Value
Type | Description |
---|---|
string |
StatusCode
HTTP status code that was returned in the HTTP response
Declaration
public HttpStatusCode StatusCode
Field Value
Type | Description |
---|---|
HttpStatusCode |