Here is 3 classes that encapsulate calling of methods to HTTP server of Fishy application.
Classes:
- FishySessionManager is class for calling GET and POST HTTP methods and receive back Foundation Objects and optional Error.
- FishyRequestSerializer is class that encapsulates custom logic for preparing any HTTP requests to Fishy server.
- FishyrespoceSerializer is class that encapsulates logic for transforming response string from server into Foundation Objects suitable for use inside Fishy Application.