mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +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)
|
||||
|
||||
@@ -140,6 +140,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
void RemoveStreamHandler(string httpMethod, string path);
|
||||
|
||||
void RemoveXmlRPCHandler(string method);
|
||||
|
||||
void RemoveJsonRPCHandler(string method);
|
||||
|
||||
string GetHTTP404(string host);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user