kean / Get

Web API client built using async/await
MIT License
937 stars 74 forks source link

Add delegate methods for per-request encoder and decoder #66

Closed corysullivan closed 1 year ago

corysullivan commented 1 year ago

As discussed in #61, in some situations, we need an encoder or decoder for a specific request that differs from the underlying client's. This PR adds two delegate methods that allow you to override the encoder/decoder for a particular request.

kean commented 1 year ago

That looks great, thanks! I'm going to add it to the docs and release it soon.