chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin Cornwell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-874) Switch to NSURLSession for networking
Date Thu, 11 Dec 2014 13:24:15 GMT

    [ 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)

Mime
View raw message