public SignalRConnectionListener(string url, IWampTextBinding <TMessage> binding,
                                         bool enableCors = true, bool enableJSONP = true, string pathMatch = "")
        {
            mUrl = url;

            mSettings = new ConnectionListenerSettings
            {
                PathMatch   = pathMatch,
                EnableCors  = enableCors,
                EnableJSONP = enableJSONP
            };

            mAdapter = new SignalRConnectionListenerAdapter <TMessage>(binding);
        }
Beispiel #2
0
 public Startup(ConnectionListenerSettings settings, ISignalRConnectionListenerAdapter adapter)
 {
     mSettings = settings;
     mAdapter  = adapter;
 }