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