Add method to remove JsonRpc Handlers from the server
parent
9e0c678c1e
commit
66d74e76b1
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue