Skip to main content

StatusAPI

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Fetches service status notices from Alta's Strapi site (strapi.townshiptale.dev).

Constructors​

MemberWhat it is
StatusAPI(int timeOutInSeconds = 15)Creates a StatusAPI from timeOutInSeconds.

Fields​

1 private and internal field
MemberWhat it is
private readonly HttpClient clientHTTP client with retries, pointed at the status site.

Methods​

MemberWhat it is
async Task<IEnumerable<Status>> GetStatus()Gets the list of status notices. Returns an empty list if the request fails.

Used in​

Members of other types that take, return or hold a StatusAPI: