angular-signalr-hub
angular-signalr-hub copied to clipboard
Handy AngularJS factory for SignalR Hubs
In order for angular to update our UI magically, we need `$rootScope.$digest()` to occur after any of our app code is executed. When angular-signalr-hub receives an incoming event from the...
Added 'argsInterceptor' property in options. This allows specify a function that will be called before calling to every listener, passing 'arguments' variable as a parameter. This allows to modify arguments...
I failed to find a way to pass connectionData to the connection. It is always empty array.
Fake hub
Is there a way to fake a hub that doesn't exist with angular-signalr-hub? It would be nice to have a service like angular-mocks ngMockE2E in a backend-less app.
Hi, It would be nice if there was method to unsubscribe events. There is: if (options && options.listeners) { Object.getOwnPropertyNames(options.listeners) .filter(function (propName) { return typeof options.listeners[propName] === 'function'; }) .forEach(function...
Variable globalConnections are recycling connection by the conection rootpath. In my app, I use the same rootpath for two hubs, but when the connection is created, I suppose the connecion...
I try using your library with typescript, so I have the following angular factory: ``` export class ChatFactory implements IChatFactory { public hub: ngSignalr.Hub; $inject = ["$rootScope", "Hub"]; static factory($rootScope:...
Hi, Send you a private mesage as well - hope you don't mind. Really like your module and the approach you took in wrapping the Hub. Pending this: https://github.com/yyankowski/angularjsmodules/blob/master/signalR.module.js -...
I'm struggling with the factory and the async nature of it as a AngularJS newbie, unfortunately the provided chat app does not handle my problem: ``` javascript MetronicApp.factory('Meter', [ '$rootScope',...
Hi ! Using SignalR with Angularjs looks great ! Do you think you can go a step further by adding a custom proxy generator for signalr, so all hub proxies...