public WebSocketRailsDispatcher(Uri url) { this.url = url; State = "connecting"; channels = new Dictionary<String, WebSocketRailsChannel>(); queue = new Dictionary<long, WebSocketRailsEvent>(); callbacks = new Dictionary<String, List<EventHandler<WebSocketRailsDataEventArgs>>>(); Connection = new WebSocketRailsConnection(url, this); }
public WebSocketRailsDispatcher(Uri url) { this.url = url; State = "connecting"; channels = new Dictionary <String, WebSocketRailsChannel>(); queue = new Dictionary <long, WebSocketRailsEvent>(); callbacks = new Dictionary <String, List <EventHandler <WebSocketRailsDataEventArgs> > >(); connection = new WebSocketRailsConnection(url, this); connectionId = ""; }