/// <summary>
        /// Create a new <Redirect/> element and append it as a child of this element.
        /// </summary>
        /// <param name="url"> Redirect URL, the body of the TwiML Element. </param>
        /// <param name="method"> Redirect URL method </param>
        public MessagingResponse Redirect(Uri url = null, Twilio.Http.HttpMethod method = null)
        {
            var newChild = new Redirect(url, method);

            this.Append(newChild);
            return(this);
        }
Esempio n. 2
0
 /// <summary>
 /// Create a new <Redirect/> element and append it as a child of this element.
 /// </summary>
 /// <param name="url"> Redirect URL, the body of the TwiML Element. </param>
 /// <param name="method"> Redirect URL method </param>
 public VoiceResponse Redirect(Uri url = null, Twilio.Http.HttpMethod method = null)
 {
     var newChild = new Redirect(url, method);
     this.Append(newChild);
     return this;
 }
 public MessagingResponse Redirect(Redirect redirect)
 {
     this.Append(redirect);
     return(this);
 }
Esempio n. 4
0
 public VoiceResponse Redirect(Redirect redirect)
 {
     this.Append(redirect);
     return this;
 }