diff --git a/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestStopStream.cs b/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestStopStream.cs index 448001d..45c1939 100644 --- a/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestStopStream.cs +++ b/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestStopStream.cs @@ -10,10 +10,11 @@ public class TestStopStream [Fact] public void StopStreamTest() { - var expected = " "; + var expected = " "; var stopStream = new StopStream(); stopStream.Name = "test"; + stopStream.Wait = true; var response = new Response(stopStream); var actual = response.ToBXML(); diff --git a/src/Bandwidth.Standard/Model/Bxml/Verbs/StopStream.cs b/src/Bandwidth.Standard/Model/Bxml/Verbs/StopStream.cs index ef7be50..a850e81 100644 --- a/src/Bandwidth.Standard/Model/Bxml/Verbs/StopStream.cs +++ b/src/Bandwidth.Standard/Model/Bxml/Verbs/StopStream.cs @@ -14,5 +14,11 @@ public class StopStream : IVerb /// [XmlAttribute("name")] public string Name { get; set; } + + /// + /// If true, the BXML interpreter will wait for the stream to stop before processing the next verb. + /// + [XmlAttribute("wait")] + public bool Wait { get; set; } } }