I'm trying to establish a persistent connection with an IMAP server so that whenever the server sends something over the stream, my app will be notifi ...
I'm trying to establish a persistent connection with an IMAP server so that whenever the server sends something over the stream, my app will be notifi ...
What happens to the current tasks present in the session when we do reset(completionHandler:) on UrlSession. Also if it cancels the current tasks then ...
I am facing weird issue while try to download file using URLSession and URLSessionConfiguration.background(withIdentifier: Bundle.main.bundleIdentifie ...
I was trying to set custom headers for 'Cache-Control' to achieve a cache at client side(server side has 'Cache-Control: no-cache'). Trying to achieve ...
There is a chance that background uploads work with some adaption of the alamofire api and URLSession whit this code: Unfortunately this wont work ...
I am new to ARKIT and I was just wondering is there a way to track the percentage progress of the download of the .SCN file. I have tried using URL se ...
In my app I want to make a network call only if I can access the internet. Note: I'm connected to a WiFi spot that doesn't have Internet I want to t ...
If a URLSessionDataTask is waiting for connectivity and the app get's killed or suspended for some reason will the OS complete the task when the devic ...
In my iOS app, I create a URLSession with default configuration: The user logs in, the cookies are set and all API requests are Authorized and work ...
I use AFNetworking library 3.0 for download files. I created singleton for AFNetworking session but when my phone go to lockscreen session has been ca ...
I wanted to subclass URLSessionConfiguration to set some default values for properties such as timeout intervals and httpHeaders. So I came with this ...
I'm trying to send a POST request to a specific URL through a proxy server. To test that the code I'm writing is working, I installed squidman on my m ...
I have looking for a way to set a proxy to WKWebview request with no luck. By another hand I have been able to set proxy to http request But my qu ...
Given the following playground: If you run the playground in Xcode 9.4.1, eq evaluates to true. In Xcode 10.0 eq evaluates to false. I took a look ...
In my application data that I fetch from server is quite heavy and is coming as Bulk Data in single API. Due to which I increased my Time Out Interval ...
I want to make an additional HTTP request after background download/upload in order to confirm that the application finished downloading/uploading. Le ...
I am trying to download .ts files of a .m3u8 Video. I have created a download task for each of the .ts url and the session configuration HTTPMaximumCo ...
I am newbie IOS programming. I want to create a sample app which allow user to download many files from my server. For example, I have 10 files, then ...
I am successfully able to download a file in the background. Upon App closing and App-reopening, there is still data downloaded as expected. However, ...
Since iOS 11 we can set: Then when WiFi connection is too slow, the app will automatically switch to cellular network, so HTTP requests will work f ...