Class StatusClient
Inheritance
System.Object
StatusClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.AVACloud.Client
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class StatusClient
Constructors
| Improve this Doc View SourceStatusClient(String, HttpClient)
Declaration
public StatusClient(string baseUrl, HttpClient httpClient)
Parameters
Type | Name | Description |
---|---|---|
System.String | baseUrl | |
System.Net.Http.HttpClient | httpClient |
Properties
| Improve this Doc View SourceBaseUrl
Declaration
public string BaseUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings |
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceGetStatusAsync()
Reports the health status of the AVACloud API
Declaration
public virtual Task<GetStatus> GetStatusAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GetStatus> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
GetStatusAsync(CancellationToken)
Reports the health status of the AVACloud API
Declaration
public virtual async Task<GetStatus> GetStatusAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GetStatus> |
Exceptions
Type | Condition |
---|---|
SwaggerException | A server side error occurred. |
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)
Declaration
protected virtual async Task<StatusClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpResponseMessage | response | |
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>> | headers | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<StatusClient.ObjectResponseResult<T>> |
Type Parameters
Name | Description |
---|---|
T |