Skip to content

Commit 466a93c

Browse files
Merge pull request #250397 from vicancy/patch-8
Update quickstarts-push-messages-from-server.md
2 parents 8f0ff9b + 8ddb911 commit 466a93c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

articles/azure-web-pubsub/quickstart-serverless.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ In this tutorial, you learn how to:
345345
```
346346
- Add `using` statements in header to resolve required dependencies.
347347
```c#
348+
using System.Threading.Tasks;
348349
using Microsoft.Azure.WebJobs.Extensions.WebPubSub;
349350
using Microsoft.Azure.WebPubSub.Common;
350351
```
@@ -565,4 +566,4 @@ In this quickstart, you learned how to run a serverless chat application. Now, y
565566
> [Quick start: Create a simple chatroom with Azure Web PubSub](./tutorial-build-chat.md)
566567
567568
> [!div class="nextstepaction"]
568-
> [Explore more Azure Web PubSub samples](https://github.com/Azure/azure-webpubsub/tree/main/samples)
569+
> [Explore more Azure Web PubSub samples](https://github.com/Azure/azure-webpubsub/tree/main/samples)

articles/azure-web-pubsub/quickstarts-push-messages-from-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,12 @@ cd webpubsub-quickstart-subscriber
255255
<groupId>com.azure</groupId>
256256
<artifactId>azure-messaging-webpubsub</artifactId>
257257
<version>1.0.0</version>
258-
</dependen
258+
</dependency>
259259
<dependency>
260260
<groupId>org.java-websocket</groupId>
261261
<artifactId>Java-WebSocket</artifactId>
262262
<version>1.5.1</version>
263-
</dependen
263+
</dependency>
264264
```
265265
In Web PubSub, you can connect to the service and subscribe to messages through WebSocket connections. WebSocket is a full-duplex communication channel allowing the service to push messages to your client in real time. You can use any API or library that supports WebSocket. For this sample, we use package [Java-WebSocket](https://github.com/TooTallNate/Java-WebSocket).
266266

0 commit comments

Comments
 (0)