Skip to content
Low Level Cachet C# Library
C#
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CachNet.Tests Use SingleOrArray for response conversion Feb 23, 2020
CachNet Use SingleOrArray for response conversion Feb 23, 2020
.gitattributes Init Commit Feb 23, 2020
.gitignore Init Commit Feb 23, 2020
CachNet.sln
README.md Update README.md Feb 23, 2020

README.md

CachNet

A Low Level Cachet C# Library

Usage

CachetClient Cachet = new CachetClient("", "");

ResponseData<String> response = await Cachet.PingAsync().ConfigureAwait(false);
Console.WriteLine(response.Data); //Pong!

ResponseData<Incident> incident = await Cachet.AddIncidentAsync(new PostIncident
{
  ComponentId = 1,
  ComponentStatus = ComponentStatus.Operational,
  Name = "Incident Name"
});
You can’t perform that action at this time.