ConnectionKit为Cocoa应用提供了基于Block的API实现异步的FTP、SFTP和WebDAV服务端以及本地文件操作。
特性:
Useofblocksforsimplecompletionanderror-handling
URLsreplacepathsthroughouttheAPI
Managementofrawconnectionsishiddenbehindthescenes,handlingmultipleconnectionsandre-connectionsforyou
SameauthenticationworkflowasNSURLSessionandfriends
Nolongertiedtothemainthread
libcurlisusedforFTP,insteadofcustomimplementation
NSURLConnection(viaDAVKit)isusedforWebDAV,insteadofcustomHTTPstack
libssh2(vialibcurl)isusedforSFTP,insteadofcallingouttothecommand-linesftpprogram
评论