public DBAdminWebServer(DBWebServerSettings settings) : base(settings) { this.RegisterRequestProcessor(typeof(PostPayloadsRequestProcessor)); this.RegisterRequestProcessor(typeof(GetUsersRequestProcessor)); this.RegisterRequestProcessor(typeof(GetConnectionsRequestProcessor)); this.RegisterRequestProcessor(typeof(GetSubscriptionsRequestProcessor)); }
public DBWebServer(DBWebServerSettings settings) { Repository = new SQLDBRepository(settings.SQLRepositorySettings); this.AuthorizationVerifier = this; this.Settings = settings.WebServerSettings; this.RegisterRequestProcessor(typeof(GetMyConnectionsRequestProcessor)); this.RegisterRequestProcessor(typeof(GetMyTopicsRequestProcessor)); this.RegisterRequestProcessor(typeof(GetPayloadsRequestProcessor)); }