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

@ -1512,6 +1512,18 @@ namespace OpenSim.Framework.Servers.HttpServer
return false; 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) public bool RemoveLLSDHandler(string path, LLSDMethod handler)
{ {

View File

@ -118,6 +118,8 @@ namespace OpenSim.Framework.Servers.HttpServer
bool RemoveLLSDHandler(string path, LLSDMethod handler); bool RemoveLLSDHandler(string path, LLSDMethod handler);
void RemoveStreamHandler(string httpMethod, string path); void RemoveStreamHandler(string httpMethod, string path);
void RemoveXmlRPCHandler(string method);
string GetHTTP404(string host); string GetHTTP404(string host);