Example #1
0
 public HubOutgoingInvokerContext(IConnection connection, string signal, ClientHubInvocation invocation, IEnumerable <string> excludedSignals)
 {
     Connection      = connection;
     Signal          = signal;
     Invocation      = invocation;
     ExcludedSignals = excludedSignals;
 }
 public HubOutgoingInvokerContext(IConnection connection, string signal, ClientHubInvocation invocation, IEnumerable<string> excludedSignals)
 {
     Connection = connection;
     Signal = signal;
     Invocation = invocation;
     ExcludedSignals = excludedSignals;
 }
Example #3
0
        public Task Invoke(string method, params object[] args)
        {
            var invocation = new ClientHubInvocation
            {
                Hub    = _hubName,
                Method = method,
                Args   = args
            };

            return(_send(_hubName, invocation, _exclude));
        }
Example #4
0
        public Task Invoke(string method, params object[] args)
        {
            var invocation = new ClientHubInvocation
            {
                Hub = _hubName,
                Method = method,
                Args = args
            };

            return _send(_hubName, invocation);
        }