Change request's behavior #1812
Unanswered
freddy0448
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to change the 'every request behavior' of a Refit Service?
What I want is to do some cleanup on my app's main thread. I want the request to be made in a different thread, something like:
var result = await Task.Run(async () => await HttpGet())
I'm not doing it on every request because will be headache and pretty hard to maintain. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions