MockWebServer response delay

How can I defer a response to a square MockWebServer HTTP?

There is a method response.setBodyDelayTimeMs(...);, but it is used only in SpdySocketHandler, and not for HTTP requests.

+3
source share
1 answer

This is a mistake that we must support. If you report this to our tracker, we will talk about it. Or better yet, send us a pull request!

+2
source

Source: https://habr.com/ru/post/1655474/


All Articles