Example #1
0
        public SignalRClient(ISignalRConnection conn)
        {
            SignalRConnection = conn;
            SignalRConnection.Connection.Closed += Connection_Closed;

            //Connection.Connection.On<string>("OnInboundMessage", OnInboundMessage);
            //Connection.Connection.On<string>("OnNewConnection", OnNewConnection);
            //Connection.Connection.On<string>("OnDisonnection", OnDisonnection);
        }
 public RequestExecutor(ISignalRConnection signalRConnection)
 {
     m_signalRConnection = signalRConnection;
 }
Example #3
0
 public RequestReceiver(ISignalRConnection signalRConnection)
 {
     m_signalRConnection = signalRConnection;
     m_signalRConnection.ResponseReceived += OnResponseReceived;
     m_responseDictionary = new Dictionary <Guid, SignalRResponse>();
 }