takeResponseBodyForInterceptionAsStream
suspend fun takeResponseBodyForInterceptionAsStream(args: Network.TakeResponseBodyForInterceptionAsStreamParameter, mode: CommandMode = CommandMode.DEFAULT): Network.TakeResponseBodyForInterceptionAsStreamReturn
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can't be continued as is -- you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
suspend fun takeResponseBodyForInterceptionAsStream(interceptionId: String): Network.TakeResponseBodyForInterceptionAsStreamReturn
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can't be continued as is -- you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
Parameters
interceptionId
No description