CodingAleCR / http_interceptor

A lightweight, simple plugin that allows you to intercept request and response objects and modify them if desired.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

background json compute

ac130kz opened this issue · comments

ResponseData object is built with a String based body, however I'd like to use background json decoding, which returns a Json object (examples: official, dio_flutter_transformer). How do I implement my interceptor?

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.63. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Hi, this is a really nice question, as of right now, this would fit into the feature request category since the response interceptor is static typed to a String class. I will add this to the near future as I believe it is the desired behavior of intercepting a response.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.