adding RemoveXmlRpcHandler to IHttpServer
parent
da170cde46
commit
ac2fe53e89
|
@ -1513,6 +1513,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)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
|
@ -119,6 +119,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
|
|
||||||
void RemoveStreamHandler(string httpMethod, string path);
|
void RemoveStreamHandler(string httpMethod, string path);
|
||||||
|
|
||||||
|
void RemoveXmlRPCHandler(string method);
|
||||||
|
|
||||||
string GetHTTP404(string host);
|
string GetHTTP404(string host);
|
||||||
|
|
||||||
string GetHTTP500();
|
string GetHTTP500();
|
||||||
|
|
Loading…
Reference in New Issue