An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/IISMainHandler/handlers/DebugHandler.cs

27 lines
692 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace FLocal.IISHandler.handlers {
class DebugHandler : ISpecificHandler {
private HttpContext context;
public DebugHandler(HttpContext context) {
this.context = context;
}
public void Handle() {
context.Response.ContentType = "text/plain";
context.Response.WriteLine("Path: " + context.Request.Path);
context.Response.WriteLine("PathInfo: " + context.Request.PathInfo);
}
public void Dispose() {
this.context = null;
}
}
}