Skip to content

Commit d60ef1d

Browse files
Copilotkashifkhan
andcommitted
Update WebSockets example to explicitly show connection string usage
Co-authored-by: kashifkhan <[email protected]>
1 parent 604c3e7 commit d60ef1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/servicebus/azure-servicebus/TROUBLESHOOTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,9 @@ Connection errors can occur due to network issues, firewall restrictions, or ser
204204
```python
205205
from azure.servicebus import ServiceBusClient, TransportType
206206

207+
# Using connection string with WebSockets
207208
client = ServiceBusClient.from_connection_string(
208-
connection_string,
209+
"your_connection_string",
209210
transport_type=TransportType.AmqpOverWebsocket
210211
)
211212
```

0 commit comments

Comments
 (0)