Class TwilioSink
Sending SMS with Twilio REST API
Inheritance
System.Object
TwilioSink
Implements
System.IDisposable
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)
Namespace: Azos.Web.Messaging
Assembly: Azos.Web.dll
Syntax
public sealed class TwilioSink : MessageSink, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IMessageSink, IConfigurable, IWebClientCaller
Constructors
TwilioSink(MessageDaemon)
Declaration
public TwilioSink(MessageDaemon director)
Parameters
Type | Name | Description |
---|---|---|
MessageDaemon | director |
Properties
AccountSid
Declaration
[Config]
public string AccountSid { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AuthToken
Declaration
[Config]
public string AuthToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
From
Declaration
[Config]
public string From { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KeepAlive
Declaration
[Config(Default = false)]
public bool KeepAlive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Pipelined
Declaration
[Config(Default = true)]
public bool Pipelined { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SupportedChannels
Declaration
public override MsgChannels SupportedChannels { get; }
Property Value
Type | Description |
---|---|
MsgChannels |
Overrides
WebServiceCallTimeoutMs
Declaration
[Config(Default = 20000)]
public int WebServiceCallTimeoutMs { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
DoSendMsg(Message)
Declaration
protected override bool DoSendMsg(Message msg)
Parameters
Type | Name | Description |
---|---|---|
Message | msg |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Implements
System.IDisposable