- 授权协议: 未知
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/izqui/Taylor
- 软件文档: https://github.com/izqui/Taylor
软件介绍
Taylor 是一个用 Swift 编写 HTTP 服务器的开发包。
示例代码:
let taylor = Taylor(port: 5000)
taylor.get("/") {
request, response in
response.stringBody = "Hello World"
response.send()
return nil
}
taylor.startListening(forever: true)
