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: sdk/webpubsub/azure-messaging-webpubsubservice/CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,15 @@
1
1
# Release History
2
2
3
-
## 1.1.0 (2024-02-28)
3
+
## 1.1.0 (2024-04-24)
4
4
5
5
### Bugs Fixed
6
6
- Use the correct REST API parameter name `groups` in method `get_client_access_token`
7
7
- Upgrade dependency package `pyjwt` to `>=2.0.0` which changes the return type of `jwt.encode(...)`. See https://pyjwt.readthedocs.io/en/stable/changelog.html#id30 for detail
8
8
9
+
### Features Added
10
+
- Add overload signatures for operation `send_to_all` ,`send_to_user` ,`send_to_group` and `send_to_connection`
11
+
- Update the type of parameter `content` from `IO` to `Union[IO, str, JSON]` for operation `send_to_all` ,`send_to_user` ,`send_to_group` and `send_to_connection`
"""Broadcast content inside request body to all the connected client connections.
134
+
135
+
Broadcast content inside request body to all the connected client connections.
136
+
137
+
:param message: The payload body. Required.
138
+
:type message: Union[str, JSON]
139
+
:keyword excluded: Excluded connection Ids. Default value is None.
140
+
:paramtype excluded: list[str]
141
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
142
+
messages. Default value is None.
143
+
:paramtype filter: str
144
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Broadcast content inside request body to all the connected client connections.
156
+
157
+
Broadcast content inside request body to all the connected client connections.
158
+
159
+
:param message: The payload body. Required.
160
+
:type message: str
161
+
:keyword excluded: Excluded connection Ids. Default value is None.
162
+
:paramtype excluded: list[str]
163
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
164
+
messages. Default value is None.
165
+
:paramtype filter: str
166
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Broadcast content inside request body to all the connected client connections.
200
+
201
+
Broadcast content inside request body to all the connected client connections.
202
+
203
+
:param message: The payload body. Required.
204
+
:type message: Union[IO, str, JSON]
205
+
:keyword excluded: Excluded connection Ids. Default value is None.
206
+
:paramtype excluded: list[str]
207
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
208
+
messages. Default value is None.
209
+
:paramtype filter: str
210
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to the specific user.
275
+
276
+
Send content inside request body to the specific user.
277
+
278
+
:param user_id: The user Id. Required.
279
+
:type user_id: str
280
+
:param message: The payload body. Required.
281
+
:type message: Union[str, JSON]
282
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
283
+
messages. Default value is None.
284
+
:paramtype filter: str
285
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to the specific user.
297
+
298
+
Send content inside request body to the specific user.
299
+
300
+
:param user_id: The user Id. Required.
301
+
:type user_id: str
302
+
:param message: The payload body. Required.
303
+
:type message: str
304
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
305
+
messages. Default value is None.
306
+
:paramtype filter: str
307
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to the specific user.
341
+
342
+
Send content inside request body to the specific user.
343
+
344
+
:param user_id: The user Id. Required.
345
+
:type user_id: str
346
+
:param message: The payload body. Required.
347
+
:type message: Union[IO, str, JSON]
348
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
349
+
messages. Default value is None.
350
+
:paramtype filter: str
351
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to a group of connections.
423
+
424
+
Send content inside request body to a group of connections.
425
+
426
+
:param group: Target group name, which length should be greater than 0 and less than 1025.
427
+
Required.
428
+
:type group: str
429
+
:param message: The payload body. Required.
430
+
:type message: Union[str, JSON]
431
+
:keyword excluded: Excluded connection Ids. Default value is None.
432
+
:paramtype excluded: list[str]
433
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
434
+
messages. Default value is None.
435
+
:paramtype filter: str
436
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to a group of connections.
455
+
456
+
Send content inside request body to a group of connections.
457
+
458
+
:param group: Target group name, which length should be greater than 0 and less than 1025.
459
+
Required.
460
+
:type group: str
461
+
:param message: The payload body. Required.
462
+
:type message: str
463
+
:keyword excluded: Excluded connection Ids. Default value is None.
464
+
:paramtype excluded: list[str]
465
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
466
+
messages. Default value is None.
467
+
:paramtype filter: str
468
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to a group of connections.
519
+
520
+
Send content inside request body to a group of connections.
521
+
522
+
:param group: Target group name, which length should be greater than 0 and less than 1025.
523
+
Required.
524
+
:type group: str
525
+
:param message: The payload body. Required.
526
+
:type message: Union[IO, str, JSON]
527
+
:keyword excluded: Excluded connection Ids. Default value is None.
528
+
:paramtype excluded: list[str]
529
+
:keyword filter: Following OData filter syntax to filter out the subscribers receiving the
530
+
messages. Default value is None.
531
+
:paramtype filter: str
532
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to the specific connection.
364
598
365
-
@distributed_trace
599
+
Send content inside request body to the specific connection.
600
+
601
+
:param connection_id: The connection Id. Required.
602
+
:type connection_id: str
603
+
:param message: The payload body. Required.
604
+
:type message: Union[str, JSON]
605
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to the specific connection.
617
+
618
+
Send content inside request body to the specific connection.
619
+
620
+
:param connection_id: The connection Id. Required.
621
+
:type connection_id: str
622
+
:param message: The payload body. Required.
623
+
:type message: str
624
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
"""Send content inside request body to the specific connection.
655
+
656
+
Send content inside request body to the specific connection.
657
+
658
+
:param connection_id: The connection Id. Required.
659
+
:type connection_id: str
660
+
:param message: The payload body. Required.
661
+
:type message: Union[IO, str, JSON]
662
+
:keyword content_type: The content type of the payload. Default value is None. Allowed values are 'application/json', 'application/octet-stream' and 'text/plain'
0 commit comments