delight-im / Android-DDP

[UNMAINTAINED] Meteor's Distributed Data Protocol (DDP) for clients on Android
Apache License 2.0
274 stars 54 forks source link

Is there any way to cancel the "call" request? #151

Open ngokyuen opened 5 years ago

ngokyuen commented 5 years ago

I have used the "call" function to upload data to meteor web server on my android mobile app, but sometimes the client can not reach the network. I would like to prevent the request after the client mobile has tried to send data at the first time and not to try to send again.

I mean that i would like to set the system(client side) is only try to send data one time, if the connection is fail or cause exception then the "call" request will be cancelled and it (ddp) will not to try to upload.