Join Slack
Powered by
Is it possible to replace a mock response in an al...
# ktor
j
Javier
07/13/2022, 12:46 PM
Is it possible to replace a mock response in an already created
HttpClient
without having to create other
HttpClient
?
a
Aleksei Tirman [JB]
07/13/2022, 3:53 PM
What do you mean by replacing a mock response?
j
Javier
07/13/2022, 3:54 PM
I solved it by casting the config to the mock config ones so I was able to remove previous handlers and add a new response one
👍 1
Open in Slack
Previous
Next