- 授权协议: MIT
- 开发语言: Swift
- 操作系统: iOS
- 软件首页: https://github.com/weipin/Cycles
- 软件文档: https://github.com/weipin/Cycles
软件介绍
Cycles 是 Swift 编写的 HTTP 客户端开发包,目前还处于早起开发阶段,只支持 iOS
示例代码:
Cycle.get("https://api.github.com/user/",
requestProcessors: [BasicAuthProcessor(username: "user", password: "pass")],
responseProcessors: [JSONProcessor()],
completionHandler: { (cycle, error) in
println("\(cycle.response.statusCode)") // 200
var header = cycle.response.valueForHTTPHeaderField("content-type")
println("\(header)") // application/json; charset=utf-8
println("\(cycle.response.textEncoding)") // 4
println("\(cycle.response.text)") // {"login":"user","id":3 ...
println("\(cycle.response.object)") // {"avatar_url" = ...
})
UNIX网络编程 卷2
W.Richard Stevens / 人民邮电出版社 / 2009-11 / 89.00元
《UNIX网络编程 卷2:进程间通信(英文版·第2版)》是一部UNIX网络编程的经典之作。进程间通信(IPC)几乎是所有Unix程序性能的关键,理解IPC也是理解如何开发不同主机间网络应用程序的必要条件。《UNIX网络编程 卷2:进程间通信(英文版·第2版)》从对Posix IPC和System V IPC的内部结构开始讨论,全面深入地介绍了4种IPC形式:消息传递(管道、FIFO、消息队列)、同......一起来看看 《UNIX网络编程 卷2》 这本书的介绍吧!
