Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pshao25 committed Jun 25, 2024
1 parent 6c60a57 commit be4825f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ namespace AzureWebPubSubServiceRESTAPI;
*/
enum Versions {
/**
* The 2023-07-01 API version.
* The 2024-01-01 API version.
*/
@useDependency(Azure.Core.Versions.v1_0_Preview_1)
v2023_07_01: "2023-07-01",
v2024_01_01: "2024-01-01",
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ using TypeSpec.Http;

namespace AzureWebPubSubServiceRESTAPI;

union WebPubSubClientType {
string,
Default: "Default",
MQTT: "MQTT",
}

union WebPubSubPermission {
string,
sendToGroup: "sendToGroup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ interface WebPubSubOperations {
})
group?: string[];

/**
* The type of client. Case-insensitive. If not set, it's "Default". For Web
* PubSub for Socket.IO, only the default value is supported. For Web PubSub, the
* valid values are 'Default' and 'MQTT'.
*/
@query("clientType")
clientType?: WebPubSubClientType = WebPubSubClientType.Default;

/**
* Accept header
*/
Expand Down

0 comments on commit be4825f

Please sign in to comment.