OPEN SOURCE & CROSS-PLATFORM TOOL FOR SIMPLIFIED MONITORING
TwilioIntegration can be used for sending the SMS using the Twilio. The required parameters are Account SID with Auth token for the account authentication and the default sender phone number e.g. +1111222333.
Available as a NuGet package.
Install-Package Warden.Integrations.Twilio
TwilioIntegration can be configured by using the TwilioIntegrationConfiguration class or via the lambda expression passed to a specialized constructor.
In order to register and resolve TwilioIntegration make use of the available extension methods while configuring the Warden:
var wardenConfiguration = WardenConfiguration .Create() .IntegrateWithTwilio("accountSid", "authToken", "+1111222333", cfg => { cfg.WithDefaultMessage("Monitoring status") .WithDefaultReceivers("+1123456789"); }) .SetGlobalWatcherHooks((hooks, integrations) => { hooks.OnStart(check => GlobalHookOnStart(check)) .OnFailure(result => integrations.Twilio().SendSmsAsync("Monitoring errors have occured.")) }) //Configure watchers, hooks etc..
public interface ITwilioService { SendSmsAsync(string sender, string receiver, string message) }
ITwilioService is responsible for sending the SMS. It can be configured via the WithTwilioServiceProvider() method. By default, it is based on the Twilio library.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4