+ Implemented Request Processing (Cache => Regex Events => Razor Pages => Static Content) + Rendering based on domain works - Areas are not implemented + Content Type Map now defines `.cshtml` files and default mime type was changed to "text/plain" + GetStaticFile no longer returns private templates/layouts (used to be able to view those in plain text by requesting with a fully qualified path) I will make more concise tests in a bit (I was not pushing to git properly, so have to make big commits for the time being)
14 lines
423 B
C#
14 lines
423 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
|
|
namespace WebServer {
|
|
public interface IHttpLogger {
|
|
void Log(string message);
|
|
void LogRequest(HttpListenerContext context, HttpResponse response, List<MethodBase> methodsUsed);
|
|
void LogError(HttpListenerContext context, List<MethodBase> methodsUsed, Exception exception);
|
|
}
|
|
}
|