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/includes/reference-json-requests.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Format:
18
18
}
19
19
```
20
20
21
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
21
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
22
22
23
23
### Leave groups
24
24
@@ -32,7 +32,7 @@ Format:
32
32
}
33
33
```
34
34
35
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
35
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
36
36
37
37
### Publish messages
38
38
@@ -49,7 +49,7 @@ Format:
49
49
}
50
50
```
51
51
52
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
52
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
53
53
*`noEcho` is optional. If set to true, this message is not echoed back to the same connection. If not set, the default value is false.
54
54
*`dataType` can be one of `json`, `text`, or `binary`:
55
55
*`json`: `data` can be any type that JSON supports and will be published as what it is; If `dataType` isn't specified, it defaults to `json`.
@@ -143,7 +143,7 @@ Format:
143
143
}
144
144
```
145
145
146
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
146
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
147
147
148
148
`dataType` can be one of `text`, `binary`, or `json`:
149
149
*`json`: data can be any type json supports and will be published as what it is; If `dataType` is not specified, it defaults to `json`.
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/includes/reference-protobuf-requests.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,21 @@ Format:
4
4
5
5
Set `join_group_message.group` to the group name.
6
6
7
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
7
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
8
8
9
9
### Leave groups
10
10
11
11
Format:
12
12
13
13
Set `leave_group_message.group` to the group name.
14
14
15
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
15
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
16
16
17
17
### Publish messages
18
18
19
19
Format:
20
20
21
-
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](./concept-client-protocols.md#ackid-and-ack-response)
21
+
*`ackId` is the identity of each request and should be unique. The service sends a [ack response message](#ack-response) to notify the process result of the request. More details can be found at [AckId and Ack Response](../concept-client-protocols.md#ackid-and-ack-response)
22
22
23
23
There's an implicit `dataType`, which can be `protobuf`, `text`, or `binary`, depending on the `data` in `MessageData` you set. The receiver clients can use `dataType` to handle the content correctly.
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/reference-json-reliable-webpubsub-subprotocol.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ For example, in JS, a Reliable PubSub WebSocket client can be created using:
23
23
var pubsub =newWebSocket('wss://test.webpubsub.azure.com/client/hubs/hub1', 'json.reliable.webpubsub.azure.v1');
24
24
```
25
25
26
-
When using `json.reliable.webpubsub.azure.v1` subprotocol, the client must follow the [How to create reliable clients](howto-develop-reliable-clients) to implement reconnection, publisher and subscriber.
26
+
When using `json.reliable.webpubsub.azure.v1` subprotocol, the client must follow the [How to create reliable clients](./howto-develop-reliable-clients) to implement reconnection, publisher and subscriber.
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/reference-protobuf-reliable-webpubsub-subprotocol.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ For example, in JavaScript, you can create a Reliable PubSub WebSocket client wi
25
25
var pubsub =newWebSocket('wss://test.webpubsub.azure.com/client/hubs/hub1', 'protobuf.reliable.webpubsub.azure.v1');
26
26
```
27
27
28
-
When using `json.reliable.webpubsub.azure.v1` subprotocol, the client must follow the [How to create reliable clients](howto-develop-reliable-clients) to implement reconnection, publisher and subscriber.
28
+
When using `json.reliable.webpubsub.azure.v1` subprotocol, the client must follow the [How to create reliable clients](./howto-develop-reliable-clients) to implement reconnection, publisher and subscriber.
29
29
30
30
> [!NOTE]
31
31
> Currently, the Web PubSub service supports only [proto3](https://developers.google.com/protocol-buffers/docs/proto3).
Reliable PubSub WebSocket client must send SequenceAck message once it received a message from the service. Find more in [How to create reliable clients](./howto-develop-reliable-clients.md#subscriber)
92
+
Reliable PubSub WebSocket client must send `SequenceAckMessage` once it received a message from the service. Find more in [How to create reliable clients](./howto-develop-reliable-clients.md#subscriber)
93
93
94
94
*`sequence_id` is a incremental uint64 number from the message received.
0 commit comments