mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
adding RemoveXmlRpcHandler to IHttpServer
This commit is contained in:
@@ -1512,6 +1512,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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user