目录

How do I use the onInterceptRequest API to asynchronously process response data?

You can use setResponseIsReady to set whether the resource response data is ready. For example, after data is asynchronously obtained, you need to call setResponseIsReady(true) to notify the system that the response data is ready. For details, see onInterceptRequest.