Skip to content

Commit 19cedae

Browse files
authored
Preview changes
1 parent 23d5603 commit 19cedae

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/azure-web-pubsub/quickstarts-event-notifications-from-clients.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In this quickstart guide, we learn about the event system of Web PubSub so that
1919
> * a client is `connected`
2020
> * a client sends a `message`, which requires further processing
2121
22-
:::image type="content" source="media/quickstarts-push-messages-from-server/notification.gif" alt-text="GIF of application server receiving client events.":::
22+
:::image type="content" source="media/quickstarts-event-notifications-from-clients/notification.gif" alt-text="GIF of application server receiving client events.":::
2323

2424
## Prerequisites
2525
- A Web PubSub resource. If you haven't created one, you can follow the guidance: [Create a Web PubSub resource](./howto-develop-create-instance.md)
@@ -50,7 +50,7 @@ A client, be it a browser, a mobile app, or an IoT device, uses a **Client Acces
5050
This URL follows a pattern of `wss://<service_name>.webpubsub.azure.com/client/hubs/<hub_name>?access_token=<token>`.
5151
A client can have a few ways to obtain the Client Access URL. For this quick start, you can copy and paste one from Azure portal shown in the following diagram.
5252

53-
![The diagram shows how to get **Client Access Url**.](./media/quickstarts-push-messages-from-server/generate-client-url-no-group.png)
53+
![The diagram shows how to get **Client Access Url**.](./media/quickstarts-event-notifications-from-clients/generate-client-url-no-group.png)
5454

5555
Create a file with name `client.js` and add the following code
5656

@@ -129,7 +129,7 @@ As configured in the code above, when a client connects with your Web PubSub res
129129
---
130130

131131
## Expose localhost
132-
If your run the program on your computer, it's running on `localhost` at port `8080`. For our purposes, it means your local express app can't be reached on the internet. So, Web PubSub can't invoke the Webhook served at the path `/eventhandler`.
132+
Run the program, it should be running on `localhost` at port `8080`. For our purposes, it means your local express app can't be reached on the internet. So, Web PubSub can't invoke the Webhook served at the path `/eventhandler`.
133133

134134
What we need is to expose localhost to be accessible on the internet. There are several tools available for this.
135135
> [!div class="checklist"]
@@ -155,15 +155,15 @@ Now, we need to let your Web PubSub resource know about this Webhook URL. You ca
155155

156156
# [Azure portal](#tab/portal)
157157
1. Select **"Settings"** from the menu and select **"Add"**
158-
:::image type="content" source="media/howto-develop-eventhandler/configure-event-handler-menu.png" alt-text="Screenshot of Azure Web PubSub Configure Event Handler - menu.":::
158+
:::image type="content" source="media/quickstarts-event-notifications-from-clients/configure-event-handler-menu.png" alt-text="Screenshot of Azure Web PubSub Configure Event Handler - menu.":::
159159

160160
1. Enter a hub name. For our purposes, enter "**myHub1**" and select "**Add**"
161161

162162
1. In the event handler page, configure the following fields
163-
:::image type="content" source="media/quickstarts-push-messages-from-server/configure-event-handler-details.png" alt-text="Screenshot of Azure Web PubSub Configure Event Handler - details.":::
163+
:::image type="content" source="media/quickstarts-event-notifications-from-clients/configure-event-handler-details.png" alt-text="Screenshot of Azure Web PubSub Configure Event Handler - details.":::
164164

165165
1. Save configuration
166-
:::image type="content" source="media/quickstarts-push-messages-from-server/configure-event-handler-save.png" alt-text="Screenshot of Azure Web PubSub Configure Event Handler - save.":::
166+
:::image type="content" source="media/quickstarts-event-notifications-from-clients/configure-event-handler-save.png" alt-text="Screenshot of Azure Web PubSub Configure Event Handler - save.":::
167167

168168
# [Azure CLI](#tab/cli)
169169
> [!Important]

articles/azure-web-pubsub/quickstarts-pubsub-among-clients.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: mode-api, devx-track-azurecli
1111
ms.devlang: azurecli
1212
---
1313
# Publish/subscribe among clients
14-
:::image type="content" source="media/quickstarts-push-messages-from-server/among-clients.gif" alt-text="GIF of pub/sub among clients without an application server.":::
14+
:::image type="content" source="media/quickstarts-pubsub-among-clients/among-clients.gif" alt-text="GIF of pub/sub among clients without an application server.":::
1515

1616
This quickstart guide demonstrates how to
1717
> [!div class="checklist"]

0 commit comments

Comments
 (0)