adding RemoveXmlRpcHandler to IHttpServer
parent
da170cde46
commit
ac2fe53e89
|
@ -1512,6 +1512,18 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
|
|
||||||
return false;
|
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)
|
public bool RemoveLLSDHandler(string path, LLSDMethod handler)
|
||||||
{
|
{
|
||||||
|
|
|
@ -118,6 +118,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
bool RemoveLLSDHandler(string path, LLSDMethod handler);
|
bool RemoveLLSDHandler(string path, LLSDMethod handler);
|
||||||
|
|
||||||
void RemoveStreamHandler(string httpMethod, string path);
|
void RemoveStreamHandler(string httpMethod, string path);
|
||||||
|
|
||||||
|
void RemoveXmlRPCHandler(string method);
|
||||||
|
|
||||||
string GetHTTP404(string host);
|
string GetHTTP404(string host);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue