aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/InventoryServer/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/InventoryServer/Main.cs')
-rw-r--r--OpenSim/Grid/InventoryServer/Main.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs
index 8be6a23..81a6a03 100644
--- a/OpenSim/Grid/InventoryServer/Main.cs
+++ b/OpenSim/Grid/InventoryServer/Main.cs
@@ -110,6 +110,14 @@ namespace OpenSim.Grid.InventoryServer
110 "POST", "/NewItem/", m_inventoryService.AddItem, m_inventoryService.CheckAuthSession)); 110 "POST", "/NewItem/", m_inventoryService.AddItem, m_inventoryService.CheckAuthSession));
111 111
112 m_httpServer.AddStreamHandler( 112 m_httpServer.AddStreamHandler(
113 new RestDeserialiseTrustedHandler<Guid, List<InventoryItemBase>>(
114 "POST", "/GetItems/", m_inventoryService.GetFolderItems, m_inventoryService.CheckTrustSource));
115
116 m_httpServer.AddStreamHandler(
117 new RestDeserialiseTrustedHandler<InventoryItemBase, bool>(
118 "POST", "/AddNewItem/", m_inventoryService.AddItem, m_inventoryService.CheckTrustSource));
119
120 m_httpServer.AddStreamHandler(
113 new RestDeserialiseSecureHandler<InventoryItemBase, bool>( 121 new RestDeserialiseSecureHandler<InventoryItemBase, bool>(
114 "POST", "/DeleteItem/", m_inventoryService.DeleteItem, m_inventoryService.CheckAuthSession)); 122 "POST", "/DeleteItem/", m_inventoryService.DeleteItem, m_inventoryService.CheckAuthSession));
115 123