mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add SimpleStrem(Request)Handler, for simple uripaths, any method or query
This commit is contained in:
@@ -88,4 +88,17 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
Hashtable Handle(string path, Hashtable request);
|
||||
}
|
||||
|
||||
public interface ISimpleStreamHandler
|
||||
{
|
||||
string Name { get; }
|
||||
string Description { get; }
|
||||
string Path { get; }
|
||||
|
||||
int RequestsReceived { get; }
|
||||
int RequestsHandled { get; }
|
||||
|
||||
// Handle request stream, return byte array
|
||||
void Handle(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user