Overview of Connect-Swift
mainConnect-Swift is a lightweight library (<200KB) that enables type-safe, idiomatic Swift communication with servers using Protocol Buffers (Protobuf). It supports the Connect, gRPC, and gRPC-Web protocols.
Instead of manually writing Codable models or handling serialization, Connect-Swift uses code generation to provide:
- Protocol Interfaces: Swift protocols for service clients.
- Client Implementations: Concrete classes that handle the network transport and RPC calls.
- Mocks: Generated mock classes for easy unit testing.