JamitLabs / Jetworking

A multi-module library providing a user-friendly interface for common networking tasks
https://JamitLabs.github.io/Jetworking/
MIT License
4 stars 3 forks source link

Implement encoding/decoding strategy #60

Closed jamitJona closed 3 years ago

jamitJona commented 3 years ago

Implements Decoder/Encoder protocols that can be used to change the decoder/encoder properties in Configuration. These decoder/encoder can be overridden for particular endpoints by the overrideStandardDecoderWith(_ decoder: Decoder) method in Endpoint.

Fixes a bug where a method overload didn't work as expected: Because of this all responses from the backend weren't decoded at all.