How to use abp-ng2-module - 1 common examples

To help you get started, we’ve selected a few abp-ng2-module 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 aspnetboilerplate / module-zero-core-template / angular / src / shared / helpers / SignalRAspNetCoreHelper.ts View on Github external
static initSignalR(callback?: () => void): void {
        const encryptedAuthToken = new UtilsService().getCookieValue(AppConsts.authorization.encryptedAuthTokenName);

        abp.signalr = {
            autoConnect: true,
            connect: undefined,
            hubs: undefined,
            qs: AppConsts.authorization.encryptedAuthTokenName + '=' + encodeURIComponent(encryptedAuthToken),
            remoteServiceBaseUrl: AppConsts.remoteServiceBaseUrl,
            startConnection: undefined,
            url: '/signalr'
        };

        const script = document.createElement('script');
        if (callback) {
            script.onload = () => {
                callback();
            };

abp-ng2-module

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.7.

MIT
Latest version published 4 months ago

Package Health Score

71 / 100
Full package analysis

Popular abp-ng2-module functions