You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/quickstart-use-sdk.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ $connection_string = (az webpubsub key show --name $WebPubSubName --resource-gro
151
151
152
152
Create a Web PubSub client. The client maintains a connection to the service until it's terminated.
153
153
154
-
Use the `az webpubsub client` command to start a WebSocket client connection to the service. The client will provide a hub that is used for groups of client connections.
154
+
Use the `az webpubsub client` command to start a WebSocket client connection to the service. The clients always connect to a hub, so provide a hub name for the client to connect to.
155
155
156
156
# [Bash](#tab/bash)
157
157
@@ -183,7 +183,9 @@ The connection to the Web PubSub service is established when you see a JSON mess
183
183
184
184
## 4. Publish messages using service SDK
185
185
186
-
You'll create a client that uses the Azure Web PubSub SDK to publish a message to all connected clients. For this project, you'll need to open another command shell.
186
+
You'll use the Azure Web PubSub SDK to publish a message to all the clients connected to the hub.
187
+
188
+
### Set up the project to publish messages
187
189
188
190
Select the language for your project. The dependencies for each language are installed in the steps for that language.
0 commit comments