Class HSResponse
public class HSResponse
Namespace: Au.Types
Assembly: Au.dll
Properties
| Name | Description |
|---|---|
| Content | Raw response content. |
| Headers | Response headers. Initially empty.
The server later may add |
| Reason | Response reason phrase. Initially |
| Status | Response status code. Initially OK. |
Methods
| Name | Description |
|---|---|
| SetContentJson<T>(object, Type, string) | JSON-serializes object of specified type, and sets HSResponse.Content. Also sets |
| SetContentJson<T>(T, string) | JSON-serializes object of type T, and sets HSResponse.Content. Also sets |
| SetContentText(string, string) | Sets response content text. |