add SimpleOSDMapHandler, for caps that have just one httpmethod and body should be decoded as OSDMap, so we don't right the same things all pver

This commit is contained in:
UbitUmarov
2020-04-27 15:46:31 +01:00
parent a3cd0cbfcb
commit 0518b397a3
4 changed files with 140 additions and 38 deletions

View File

@@ -27,6 +27,7 @@
using System.Collections;
using System.IO;
using OpenMetaverse.StructuredData;
namespace OpenSim.Framework.Servers.HttpServer
{
@@ -102,4 +103,5 @@ namespace OpenSim.Framework.Servers.HttpServer
}
public delegate void SimpleStreamMethod(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse);
public delegate void SimpleOSDMapMethod(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse, OSDMap args);
}