azure-sdk-for-js
azure-sdk-for-js copied to clipboard
Get real-time notification configuration from Chat Gateway
Packages impacted by this PR
@azure/communication-signaling
Describe the problem that is addressed by this PR
This PR is used for retrieving Trouter Config from Chat GW rather than hardcode it in signaling client. There are 2 main changes. 1.Remove the "environment" from SignalingClientOptions as it should be retrieved from Chat GW; 2.Declare a TrouterConfigClientOptions and pass it to Signaling Client constructor since this is needed for signaling client to make http call to Chat Gateway.
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists
- [Yes] Added impacted package name to the issue description
- [No] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
- [TODO] Added a changelog (if necessary)