comparison libervia/server/restricted_bridge.py @ 1295:0930b06f022f

server (restricted_bridge): added fileSharingDelete and interestRetract
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 16:47:51 +0200
parents 1f26d8c2afc1
children 991ff12241e0
comparison
equal deleted inserted replaced
1294:44da7b118b02 1295:0930b06f022f
33 async def fileHTTPUploadGetSlot( 33 async def fileHTTPUploadGetSlot(
34 self, filename, size, content_type, upload_jid, profile): 34 self, filename, size, content_type, upload_jid, profile):
35 return await self.host.bridgeCall( 35 return await self.host.bridgeCall(
36 "fileHTTPUploadGetSlot", filename, size, content_type, 36 "fileHTTPUploadGetSlot", filename, size, content_type,
37 upload_jid, profile) 37 upload_jid, profile)
38
39 async def fileSharingDelete(
40 self, service_jid, path, namespace, profile):
41 return await self.host.bridgeCall(
42 "fileSharingDelete", service_jid, path, namespace, profile)
43
44 async def interestRetract(
45 self, service_jid, item_id, profile
46 ):
47 return await self.host.bridgeCall(
48 "interestRetract", service_jid, item_id, profile)
49