You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Gavin Cornwell (JIRA)" <ji...@apache.org> on 2014/12/11 14:24:15 UTC

[jira] [Commented] (CMIS-874) Switch to NSURLSession for networking

    [ https://issues.apache.org/jira/browse/CMIS-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242507#comment-14242507 ] 

Gavin Cornwell commented on CMIS-874:
-------------------------------------

First part of committed in revision 1644593.

The CMISHttpXXX classes have been moved to use NSURLSession but they currently always use data tasks. To support background upload and download operations the appropriate task has to be used. A different session configuration object is also required to run in the background, the next commit will address these shortcomings.

> Switch to NSURLSession for networking
> -------------------------------------
>
>                 Key: CMIS-874
>                 URL: https://issues.apache.org/jira/browse/CMIS-874
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: objectivecmis
>    Affects Versions: ObjectiveCMIS 0.4
>            Reporter: Gavin Cornwell
>            Assignee: Gavin Cornwell
>             Fix For: ObjectiveCMIS 0.5
>
>
> Currently the ObjectiveCMIS library uses NSURLConnection for all networking activity. This set of classes have now been superseded by NSURLSession.
> NSURLSession adds support for background network activity and is also a requirement for any apps that wish to include an iOS 8 document provider extension.
> As network calls are centralised this should be fairly straight forward and a backwards compatible change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)