GetResponseBodyRequest

data class GetResponseBodyRequest(requestId: RequestId)

Represents request frame that can be used with Fetch#getResponseBody operation call.

Causes the body of the response to be received from the server and returned as a single string. May only be issued for a request that is paused in the Response stage and is mutually exclusive with takeResponseBodyForInterceptionAsStream. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior.

See also

Constructors

GetResponseBodyRequest
Link copied to clipboard
fun GetResponseBodyRequest(requestId: RequestId)

Properties

requestId
Link copied to clipboard
val requestId: RequestId
Identifier for the intercepted request to get body for.

Sources

jvm source
Link copied to clipboard