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.

31 lines
602 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Xml.Linq;
namespace FLocal.IISHandler.handlers {
class RootHandler : AbstractGetHandler {
override protected string templateName {
get {
return "Root.xslt";
}
}
override protected IEnumerable<XElement> getSpecificData(WebContext context) {
Uri url = context.httprequest.Url;
return new XElement[] {
new XElement(
"url",
new XElement("host", url.Host),
new XElement("port", url.Port)
),
};
}
}
}