Skip to content

Commit ca77566

Browse files
committed
VAPI-3163
1 parent 1c85464 commit ca77566

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

docs/Refer.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,6 @@ Name | Description
3131
`WithReferCompleteMethod(string referCompleteMethod)` | Sets the `referCompleteMethod` attribute (`GET` or `POST`). Returns the `Refer` instance for chaining.
3232
`WithTag(string tag)` | Sets the `tag` attribute. Returns the `Refer` instance for chaining.
3333

34-
## Example Usage
35-
36-
```csharp
37-
using Bandwidth.Standard.Model.Bxml;
38-
using Bandwidth.Standard.Model.Bxml.Verbs;
39-
40-
var refer = new Refer()
41-
.WithSipUri("sip:alice@atlanta.example.com")
42-
.WithReferCompleteUrl("https://example.com/handleRefer")
43-
.WithReferCompleteMethod("POST")
44-
.WithTag("refer-tag");
45-
46-
var response = new Response(refer);
47-
Console.WriteLine(response.ToBXML());
48-
```
49-
50-
### Output BXML
51-
52-
```xml
53-
<?xml version="1.0" encoding="utf-8"?>
54-
<Response>
55-
<Refer referCompleteUrl="https://example.com/handleRefer" referCompleteMethod="POST" tag="refer-tag">
56-
<SipUri>sip:alice@atlanta.example.com</SipUri>
57-
</Refer>
58-
</Response>
59-
```
60-
6134
## Validation
6235

6336
- `SipUri.Uri` must start with `sip:` (case-insensitive). An `ArgumentException` is thrown if the value does not match.

0 commit comments

Comments
 (0)