How to use the dotcms.websocket.disable function in dotcms

To help you get started, we’ve selected a few dotcms examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dotCMS / core-web / projects / dotcms-js / src / lib / core / dotcms-config.service.spec.ts View on Github external
service.getConfig().subscribe((configResponse: ConfigParams) => {
            const mock: ConfigParams = {
                colors: configParams.config.colors,
                emailRegex: configParams.config['emailRegex'],
                license: configParams.config.license,
                menu: undefined,
                paginatorLinks: configParams.config['dotcms.paginator.links'],
                paginatorRows: configParams.config['dotcms.paginator.rows'],
                websocket: {
                    disabledWebsockets: configParams.config.websocket['dotcms.websocket.disable']


This library allows you to interact with DotCMS API's easily from the browser, nodejs and React Native. [Full Documentation](

Latest version published 2 months ago

Package Health Score

75 / 100
Full package analysis