Skip to content

Commit 0bcc9bb

Browse files
authored
Clarify comment in subscriptions-socketio.md
1 parent 499dd7f commit 0bcc9bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-reference/v1.0/api/subscriptions-socketio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ The following example shows how to use the `notificationUrl` with socket.io in J
121121
122122
// 'io' comes from the socket.io client library
123123
var socket = io(notificationUrl, {
124-
transports: ['websocket'] // Make sure to use "websocket" as the default is set to "polling" which is not supported
124+
transports: ['websocket'] // Make sure to use "websocket" instead of the default value of "polling" which isn't supported
125125
});
126126
127127
socket.on("connect", () => {

0 commit comments

Comments
 (0)