@@ -194,13 +194,13 @@ export class WebPubSubServiceClient {
194194 public endpoint ! : string ;
195195
196196 /**
197- * Creates an instance of a HubClient for sending messages and managing groups, connections, and users.
197+ * Creates an instance of a WebPubSubServiceClient for sending messages and managing groups, connections, and users.
198198 *
199199 * Example usage:
200200 * ```ts
201- * import { HubClient } from "@azure/web-pubsub-management ";
201+ * import { WebPubSubServiceClient } from "@azure/web-pubsub";
202202 * const connectionString = process.env['WEB_PUBSUB_CONNECTION_STRING'];
203- * const client = new HubClient (connectionString, 'chat');
203+ * const client = new WebPubSubServiceClient (connectionString, 'chat');
204204 * ```
205205 *
206206 * @param connectionString The connection string
@@ -210,14 +210,14 @@ export class WebPubSubServiceClient {
210210 constructor ( connectionString : string , hubName : string , options ?: HubAdminClientOptions ) ;
211211
212212 /**
213- * Creates an instance of a HubClient for sending messages and managing groups, connections, and users.
213+ * Creates an instance of a WebPubSubServiceClient for sending messages and managing groups, connections, and users.
214214 *
215215 * Example usage:
216216 * ```ts
217- * import { HubClient , AzureKeyCredential } from "@azure/web-pubsub-management ";
217+ * import { WebPubSubServiceClient , AzureKeyCredential } from "@azure/web-pubsub";
218218 * const cred = new AzureKeyCredential("<your web pubsub api key>");
219219 * const endpoint = "https://xxxx.webpubsubdev.azure.com"
220- * const client = new HubClient (endpoint, cred, 'chat');
220+ * const client = new WebPubSubServiceClient (endpoint, cred, 'chat');
221221 * ```
222222 *
223223 * @param endpoint The endpoint to connect to
0 commit comments