Skip to content

Commit eef3543

Browse files
authored
fix typo
1 parent 22bfbd2 commit eef3543

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-web-pubsub/socket-io-howto-integrate-apim.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure API Management service provides a hybrid, multicloud management platform f
1717

1818
## Limitations
1919

20-
Socket.IO clients support WebSocket and Long Polling and by default, the client will connect to the service with Long Polling and then upgrade to WebSocket. However, as for now, API Management doesn't yet support different types of APIs (WebSocket or Http) with the same path. You must only either `websocket` or `polling` in client settings.
20+
Socket.IO clients support WebSocket and Long Polling and by default, the client connects to the service with Long Polling and then upgrade to WebSocket. However, as for now, API Management doesn't yet support different types of APIs (WebSocket or Http) with the same path. You must set either `websocket` or `polling` in client settings.
2121

2222
## Create resources
2323

@@ -70,13 +70,13 @@ This section describes the steps to configure API Management when the Socket.IO
7070

7171
Now, the traffic can reach Web PubSub for Socket.IO through API Management. There are some configurations in application. Let’s use a chat application as an example.
7272

73-
Clone Github repo https://github.com/Azure/azure-webpubsub and investigate to `sdk/webpubsub-socketio-extension/examples/chat` folder
73+
Clone GitHub repo https://github.com/Azure/azure-webpubsub and investigate to `sdk/webpubsub-socketio-extension/examples/chat` folder
7474

7575
Then make some changes to let the sample work with API Management
7676

7777
1. Open `public/main.js` and it's the Socket.IO client side codes
7878

79-
Edit the constructor of Socket.IO. Note that you have to select either `websocket` or `polling` as the transport:
79+
Edit the constructor of Socket.IO. You have to select either `websocket` or `polling` as the transport:
8080

8181
```javascript
8282
const webPubSubEndpoint = "https://<api-management-url>";

0 commit comments

Comments
 (0)