changeset 1295:0930b06f022f

server (restricted_bridge): added fileSharingDelete and interestRetract
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 16:47:51 +0200
parents 44da7b118b02
children b1215347b5c3
files libervia/server/restricted_bridge.py
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/server/restricted_bridge.py	Fri Jun 19 16:47:51 2020 +0200
+++ b/libervia/server/restricted_bridge.py	Fri Jun 19 16:47:51 2020 +0200
@@ -35,3 +35,15 @@
         return await self.host.bridgeCall(
             "fileHTTPUploadGetSlot", filename, size, content_type,
             upload_jid, profile)
+
+    async def fileSharingDelete(
+        self, service_jid, path, namespace, profile):
+        return await self.host.bridgeCall(
+            "fileSharingDelete", service_jid, path, namespace, profile)
+
+    async def interestRetract(
+        self, service_jid, item_id, profile
+    ):
+        return await self.host.bridgeCall(
+            "interestRetract", service_jid, item_id, profile)
+