ConnectionKit 介绍
ConnectionKit 为 Cocoa 应用提供了基于 Block 的 API 实现异步的 FTP、SFTP 和 WebDAV 服务端以及本地文件操作。
特性:
-
Use of blocks for simple completion and error-handling
-
URLs replace paths throughout the API
-
Management of raw connections is hidden behind the scenes, handling multiple connections and re-connections for you
-
Same authentication workflow as NSURLSession and friends
-
No longer tied to the main thread
-
libcurl is used for FTP, instead of custom implementation
-
NSURLConnection (via DAVKit) is used for WebDAV, instead of custom HTTP stack
-
libssh2 (via libcurl) is used for SFTP, instead of calling out to the command-line sftp program
ConnectionKit 官网
https://github.com/karelia/ConnectionKit
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。