public WebSocketChannelSender(IMessageConverter messageConverter, IStreamHubProxyFactory streamHubProxyFactory)
 {
     _messageConverter = messageConverter;
     _streamHubProxyFactory = streamHubProxyFactory;
     _streamHubProxyFactory.Register("WebSocketChannelReceiver", x => _streamHubProxy = x);
 }
Ejemplo n.º 2
0
 public WebSocketChannelSender(IMessageConverter messageConverter, IStreamHubProxyFactory streamHubProxyFactory)
 {
     _messageConverter      = messageConverter;
     _streamHubProxyFactory = streamHubProxyFactory;
     _streamHubProxyFactory.Register("WebSocketChannelReceiver", x => _streamHubProxy = x);
 }