mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
change SimpleStreamHandler to have a processor method argument
This commit is contained in:
@@ -97,6 +97,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
/// </summary>
|
||||
/// <param name="handler"></param>
|
||||
void AddStreamHandler(IRequestHandler handler);
|
||||
void AddSimpleStreamHandler(ISimpleStreamHandler handler);
|
||||
|
||||
bool AddXmlRPCHandler(string method, XmlRpcMethod handler);
|
||||
bool AddXmlRPCHandler(string method, XmlRpcMethod handler, bool keepAlive);
|
||||
@@ -141,6 +142,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
bool RemoveLLSDHandler(string path, LLSDMethod handler);
|
||||
|
||||
void RemoveStreamHandler(string httpMethod, string path);
|
||||
void RemoveSimpleStreamHandler(string path);
|
||||
|
||||
void RemoveXmlRPCHandler(string method);
|
||||
|
||||
|
||||
@@ -101,4 +101,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
// Handle request stream, return byte array
|
||||
void Handle(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse);
|
||||
}
|
||||
|
||||
public delegate void SimpleStreamMethod(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse);
|
||||
}
|
||||
Reference in New Issue
Block a user