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);
        }
예제 #2
0
 public Startup(ConnectionListenerSettings settings, ISignalRConnectionListenerAdapter adapter)
 {
     mSettings = settings;
     mAdapter  = adapter;
 }