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);
|
m_rpcHandlers.Remove(method);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void RemoveJsonRPCHandler(string method)
|
||||||
|
{
|
||||||
|
lock(jsonRpcHandlers)
|
||||||
|
jsonRpcHandlers.Remove(method);
|
||||||
|
}
|
||||||
|
|
||||||
public bool RemoveLLSDHandler(string path, LLSDMethod handler)
|
public bool RemoveLLSDHandler(string path, LLSDMethod handler)
|
||||||
{
|
{
|
||||||
lock (m_llsdHandlers)
|
lock (m_llsdHandlers)
|
||||||
|
|
|
@ -141,6 +141,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
|
|
||||||
void RemoveXmlRPCHandler(string method);
|
void RemoveXmlRPCHandler(string method);
|
||||||
|
|
||||||
|
void RemoveJsonRPCHandler(string method);
|
||||||
|
|
||||||
string GetHTTP404(string host);
|
string GetHTTP404(string host);
|
||||||
|
|
||||||
string GetHTTP500();
|
string GetHTTP500();
|
||||||
|
|
Loading…
Reference in New Issue