GetResponseBodyResponse

data class GetResponseBodyResponse(body: String, base64Encoded: Boolean)

Represents response frame that is returned from 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

GetResponseBodyResponse
Link copied to clipboard
fun GetResponseBodyResponse(body: String, base64Encoded: Boolean)

Properties

base64Encoded
Link copied to clipboard
val base64Encoded: Boolean
True, if content was sent as base64.
body
Link copied to clipboard
val body: String
Response body.

Sources

jvm source
Link copied to clipboard