Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Can NSURLSessionUploadTask be used in conjunction with RestSharp

$
0
0

Hi there,

I am currently working on an application that uses RestSharp for communication with a service. The application may be sent into the background at any time during communication. My current implementation fails as soon as this happens. From what I have found, on forums, NSURLSessionDownloadTask and NSURLSessionUploadTask could be used to facilitate background data transfer.

My question is - Is this possible using RestSharp and if so how?

If using the NSURLSession is not a possibility, my alternative would be modify the endpoints of the service and package the data to be transferred differently.

I would appreciate any comments you may have.


Viewing all articles
Browse latest Browse all 204402

Trending Articles