The Communication layer is responsible for backend communication. It includes the following components:
- WebServiceManager: This provides a global function named sendRequest that is used by TodoManager to call the backend API. Also, it uses configureHeaders to perform a reflection on request to get its properties and respective values.
- Urls: This enum provides a proper HTTP request method and a full URL address by pattern-matching and extensions.
- Alamofire: This is a library that is used by WebServiceManager for HTTP request handling.
- Argo: This library maps model objects from and to JSON functionally.