adding RemoveXmlRpcHandler to IHttpServer

0.6.6-post-fixes
Dr Scofield 2009-05-22 11:37:14 +00:00
parent da170cde46
commit ac2fe53e89
2 changed files with 14 additions and 0 deletions

View File

@ -1513,6 +1513,18 @@ namespace OpenSim.Framework.Servers.HttpServer
return false;
}
public void RemoveXmlRPCHandler(string method)
{
lock (m_rpcHandlers)
{
if (m_rpcHandlers.ContainsKey(method))
{
m_rpcHandlers.Remove(method);
}
}
}
public bool RemoveLLSDHandler(string path, LLSDMethod handler)
{
try

View File

@ -119,6 +119,8 @@ namespace OpenSim.Framework.Servers.HttpServer
void RemoveStreamHandler(string httpMethod, string path);
void RemoveXmlRPCHandler(string method);
string GetHTTP404(string host);
string GetHTTP500();