TakeResponseBodyForInterceptionAsStreamRequest

data class TakeResponseBodyForInterceptionAsStreamRequest(interceptionId: InterceptionId)

Represents request frame that can be used with 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.

See also

Constructors

fun TakeResponseBodyForInterceptionAsStreamRequest(interceptionId: InterceptionId)

Properties

interceptionId
Link copied to clipboard
val interceptionId: InterceptionId

Sources

jvm source
Link copied to clipboard