add SimpleStrem(Request)Handler, for simple uripaths, any method or query

This commit is contained in:
UbitUmarov
2020-04-23 18:23:43 +01:00
parent e818c570bb
commit 0fe51f34c2
5 changed files with 216 additions and 17 deletions

View File

@@ -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);
}
}