+ Added IHttpLogger to as a log provider to log Http events or errors + Added HttpConfiguration to more easily configure the server + WebServer.Test project that will be used to test the server
14 lines
400 B
C#
14 lines
400 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, List<MethodBase> methodsUsed);
|
|
void LogError(HttpListenerContext context, List<MethodBase> methodsUsed, Exception exception);
|
|
}
|
|
}
|