Cronbee-SDK
1.0.2
dotnet add package Cronbee-SDK --version 1.0.2
NuGet\Install-Package Cronbee-SDK -Version 1.0.2
<PackageReference Include="Cronbee-SDK" Version="1.0.2" />
<PackageVersion Include="Cronbee-SDK" Version="1.0.2" />
<PackageReference Include="Cronbee-SDK" />
paket add Cronbee-SDK --version 1.0.2
#r "nuget: Cronbee-SDK, 1.0.2"
#:package Cronbee-SDK@1.0.2
#addin nuget:?package=Cronbee-SDK&version=1.0.2
#tool nuget:?package=Cronbee-SDK&version=1.0.2
Cronbee-SDK
Cronbee SDK is a lightweight C# client designed to interact with the Cronbee monitoring API. It allows you to initialize a monitor session, send pings, trigger events, and properly close sessions, with strong testability and clear error handling.
✨ Features
🚀 Simple static SDK API (Init, Ping, Event, End) 🔁 Multi-session usage
📦 Installation
Execute the following command:
dotnet add package Cronbee-SDK
🚀 Basic Usage
Initialize the SDK
CronbeeSDK.Init("My-Monitor-ID");
This MUST be called before doing any event. An exception of type CronbeeException is thrown if SDK is not initialized.
Ping monitor
CronbeeSDK.Ping();
Trigger an event
CronbeeSDK.Event("My-Custom-Event");
End session
CronbeeSDK.End();
🔁 Multi-Session usage
Cronbee-SDK support multi-session usage
Create sessions by calling
CronbeeSession firstSession = CornbeeSDK.CreateCronbeeSession("My-Monitor-ID");
CronbeeSession SecondSession = CornbeeSDK.CreateCronbeeSession("My-Second-Monitor-ID");
Any of the static calls can be made from a CronbeeSession instance
firstSession.Ping();
...
secondSession.Event("My-Event");
All the session need to be close individualy:
firstSession.Ping();
secondSession.Event("My-Event");
...
firstSession.End();
...
secondSession.End();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- RestSharp (>= 113.1.0)
- RestSharp.Serializers.NewtonsoftJson (>= 113.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.