private void ProcessHttpRequest() { while (this.listener.IsListening) { HttpListenerContext context = this.listener.GetContext(); HttpListenerRequest request = context.Request; DBClientRequest clientRequest = new DBClientRequest() { }; this.ProcessRequest(clientRequest); } }
internal void ProcessRequest(DBClientRequest request) { InternalTable table = this.tables.FirstOrDefault(t => t.Name == request.TableName); //string path = this.config.PathMapping.TryGetValue(request.Path, out path) ? path : request.Path; }