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)
    
    
      System.Object.ToString()
    
  Namespace: NFX.Web.Messaging
Assembly: NFX.Web.dll
Syntax
public sealed class TwilioSink : MessageSink, IApplicationComponent, IDisposable, IService, INamed, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IMessageSink, IConfigurable, IWebClientCaller
  Constructors
TwilioSink(MessageService)
Declaration
public TwilioSink(MessageService director)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MessageService | 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