Comments (9)
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.62. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from http_interceptor.
Project that I'm working on will eventually be a flutter mobile application, but I'm trying to divide project in separate reusable modules - for example API access with JWT authentication and token refreshing...
It would be nice to have an option to test API layer of the app without the need to run it on an emulator - just with basic dart execution.
from http_interceptor.
I hope there are updates to this issue. I keep getting errors on a dart project.
from http_interceptor.
So sorry to hear that @bluemix . I will work on it this week for sure and probably patch release if I find it to be quick enough, otherwise will mark it here for everyone to look at.
from http_interceptor.
Hi, it definitely looks like something I would consider. I also want to expand the plugin to be able to use it with Flutter Web, it was initially conceived as a small plugin for Flutter Mobile but it has grown into much more than I expected. Just as a curiosity, is the project you are working on purely dart or is it something Flutter related as well?
from http_interceptor.
So your are using dart packages to separate your code right? I am working on making the library more testable (if that's even a word) and what you are saying matches with my view of the library as well. I will plan out ahead and see where it fits best to add this to the library, I think we might even be able to use another plugin called meta
to replace the usage of foundation
. What do you think about this idea?
from http_interceptor.
@bluemix @jrastic I've added a feature branch that removes flutter/foundation.dart dependencies. It would be great if you could double-check that this would fix the issues that you were both having. Thanks in any case for posting the issue and sorry for getting to it so late.
from http_interceptor.
I can confirm that this issue is fixed in the branch and will be available soon as a patch release. Thanks for notifying the issue and hopefully it improves the usage of the plugin.
from http_interceptor.
This will be fixed in version 0.3.3. Closing the issue.
from http_interceptor.
Related Issues (20)
- Exclude specific calls from being intercepted/retried -- HeaderSanitizerContract proposal HOT 9
- Unhandled Exception: FormatException: Unexpected extension byte (at offset 1) HOT 3
- Retry Policy with delay HOT 6
- headers are not getting updated upon retry HOT 13
- How to test http client with interceptor? TimeoutException after ... Future not completed HOT 7
- HandshakeException HOT 8
- It is possible to decode all responses to UTF-8 using interceptResponse? HOT 7
- Body is set to empty string when it should be null HOT 5
- Using interceptors on multipart request HOT 10
- Ability to edit Response body in interceptor HOT 6
- How to use with WebSockets HOT 1
- Upgrade http dependency to 1.0.0 HOT 2
- Problem while logging request and response HOT 7
- type 'Response' is not a subtype of type 'StreamedResponse' in type cast HOT 5
- refreshToken called multiple times HOT 1
- How should i handle shouldInterceptRequest when you have interceptRequest HOT 1
- interceptRequest method HOT 3
- Why is no new version on pub.dev? HOT 2
- Release version HOT 6
- Allow 'maxRetryAttempts' to be flexible according to response status HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http_interceptor.