CodingAleCR / http_interceptor

A lightweight, simple plugin that allows you to intercept request and response objects and modify them if desired.
MIT License
134 stars 67 forks source link

It's time to make it compatible with flutter web #64

Closed ParthPahuja101 closed 3 years ago

ParthPahuja101 commented 3 years ago

Since flutter web is the next big thing, how come HTTP interceptor does not support flutter web?

CodingAleCR commented 3 years ago

It partially does.

The package is compatible with Flutter Web, however, pub.dev and dart do not completely recognize this due to a particular feature (badCertificateCallback), I am currently trying to find a way to make it be recognized completely.

CodingAleCR commented 3 years ago

badCertificatesCallback was refactored out of the package but can still be achieved by following the docs of the 1.0.0 release coming soon.