Closed yoshimin closed 9 years ago
Yes, there is a plan to support NSURLSession.
If you want to submit a pull request, I think you can remove all occurrences of NSURLConnection.
Also, please ensure that all tests still pass.
Thank you for reply. I have 3 more questions.
I would tag the current version as the last one supporting iOS 6.
Sorry to reply late. My App supports also iOS6. So, I will fork STHTTPRequest(tagged current version) and fix. Thank you.
@nst As we're nearing release of an iOS 8+ app utilizing STTwitter (which relies on this lib), and we need to support background uploading using NSURLSession, I'm curious what the estimated timeframe is for STHTTPRequest to make the transition to Session. Should we build this ourselves in a local fork or is the transition coming imminently?
I'm working on it. STTwitter will use NSURLSession before the end of August.
A preliminary version is available in https://github.com/nst/STHTTPRequest/tree/master/STHTTPRequest2
It still doesn't support background upload, though.
https://github.com/nst/STHTTPRequest/tree/master/STHTTPRequest2 is still a dev version but now supports background uploads.
STTwitter (head version) now supports NSURLSession.
I consider https://github.com/nst/STHTTPRequest/tree/master/STHTTPRequest2 as ready, so I close this issue.
NSURLConnection is Deprecated from iOS9. Will you fix this library? Can I send the pull request as following one? https://github.com/yoshimin/STHTTPRequest/commit/267f47276fc3ae1c0a54c3094f1958df23bdaf76