网络
涵盖从核心网络库的抽象到功能齐全的 HTTP 客户端再到底层网络库的所有内容。如果你需要在 URLSession 之上添加一点或很多功能,你都可以在这里找到。
-
Alamofire作者: Alamofire
Alamofire is an HTTP networking library written in Swift. It provides features such as request/response handling, parameter encoding, authentication, progress tracking, and more.
-
swift-nio作者: Apple
SwiftNIO is a cross-platform networking framework for building high-performance protocol servers and clients. It uses non-blocking I/O for efficient handling of multiple connections.
-
Moya作者: Moya
Moya is a network abstraction layer for Alamofire. It simplifies network calls and provides compile-time checking for API endpoints.
-
Pulse作者: Alex Grebenyuk
Pulse is a powerful logging system for Apple platforms. It records and inspects logs and network requests, and allows for real-time viewing and sharing.
-
RealHTTP作者: Immobiliare Labs
RealHTTP is a lightweight, async-based HTTP library for Swift. It aims to provide an easy-to-use, powerful HTTP client with features like async/await support, request customization, response validation, and more.
-
Socket作者: Kitura
BlueSocket is a Socket framework for Swift. It provides functionality for creating, closing, and listening on sockets.