public override Task OnConnected() { //$.connection.hub.qs = { "token" : tokenValue }; //$.connection.hub.start().done(function() { /* ... */ }); var serviceFullName = GetServiceFullName(true); if (!string.IsNullOrEmpty(serviceFullName)) { GetMyServer(serviceFullName); //Heartbeat(); //SubscribeGroup(serviceFullName); } _slabLogger.Info("OnConnected", Context.ConnectionId); return(base.OnConnected()); }
protected override bool OnBeforeIncoming(IHubIncomingInvokerContext context) { _slabLogger.Info("LoggingPipelineModule.OnBeforeIncoming", "=> Invoking " + context.MethodDescriptor.Name + " on hub " + context.MethodDescriptor.Hub.Name); return(base.OnBeforeIncoming(context)); }