Swift Networking Layer
Instructions
Step 1: Clarify Requirements
Ask if not already provided:
- Base URL (can be a placeholder constant)
- Authentication method: Bearer token, API key in header, OAuth, none
- Endpoints to implement upfront (or start with the pattern only)
- Response format: JSON (assumed), XML, or other
- Error handling needs: retry logic, token refresh, offline support
Step 2: Generate the Core Layer
Generate in Services/Networking/:
**HTTPClientProtocol —
[Description truncada. Veja o README completo no GitHub.]