This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure RoomsApi client.
Communication Rooms Client
Source code | Package (NPM) | Samples
@azure/communication-rooms
packageInstall the Azure RoomsApi client library for JavaScript with npm
:
npm install @azure/communication-rooms
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our bundling documentation.
RoomsApiClient
is the primary interface for developers using the Azure RoomsApi client library. Explore the methods on this client object to understand the different features of the Azure RoomsApi service that you can access.
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the AZURE_LOG_LEVEL
environment variable to info
. Alternatively, logging can be enabled at runtime by calling setLogLevel
in the @azure/logger
:
const { setLogLevel } = require("@azure/logger");
setLogLevel("info");
For more detailed instructions on how to enable logs, you can look at the @azure/logger package docs.
Please take a look at the samples directory for detailed examples on how to use this library.
If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.
Generated using TypeDoc