Replies: 1 comment
-
|
AFAIK the request can not really be cancelled, just the handling of the response or timeout etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
`
`
Here is the dio service,
So am trying to cancel any request whenever the user navigates to a different screen and am calling the cancelRequest() method to do so, but it's not working, i don't know if am doing something wrong or it's just a bug
And by the way, "Request Cancelled" is printed but the request still continue :)
Beta Was this translation helpful? Give feedback.
All reactions