mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Add method to remove JsonRpc Handlers from the server
This commit is contained in:
@@ -1912,6 +1912,12 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
m_rpcHandlers.Remove(method);
|
||||
}
|
||||
|
||||
public void RemoveJsonRPCHandler(string method)
|
||||
{
|
||||
lock(jsonRpcHandlers)
|
||||
jsonRpcHandlers.Remove(method);
|
||||
}
|
||||
|
||||
public bool RemoveLLSDHandler(string path, LLSDMethod handler)
|
||||
{
|
||||
lock (m_llsdHandlers)
|
||||
|
||||
Reference in New Issue
Block a user