* RestMethod now uses same pattern as XmlRpcMethod

* Made /Admin use RestMethod
* HttpServer is now a mini-webapp-server yay!
This commit is contained in:
lbsa71
2007-03-29 19:05:34 +00:00
parent 761db20c5f
commit 514a323056
4 changed files with 134 additions and 136 deletions

View File

@@ -199,7 +199,8 @@ namespace OpenSim
}
}
HttpServer.AddRestHandler("Admin", new AdminWebFront("Admin", LocalWorld, adminLoginServer ));
AdminWebFront adminWebFront = new AdminWebFront("Admin", LocalWorld, adminLoginServer);
adminWebFront.LoadMethods( HttpServer );
m_console.WriteLine("Main.cs:Startup() - Starting HTTP server");
HttpServer.Start();