pl.wendigo.chrome.api.network / TakeResponseBodyForInterceptionAsStreamResponse

TakeResponseBodyForInterceptionAsStreamResponse

data class TakeResponseBodyForInterceptionAsStreamResponse (source)

Represents response frame that is returned from Network#takeResponseBodyForInterceptionAsStream operation call. 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.

Link
Network#takeResponseBodyForInterceptionAsStream method documentation.

See Also

NetworkOperations.takeResponseBodyForInterceptionAsStream

Constructors

<init>

TakeResponseBodyForInterceptionAsStreamResponse(stream: StreamHandle)

Represents response frame that is returned from Network#takeResponseBodyForInterceptionAsStream operation call. 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.

Properties

stream

val stream: StreamHandle