Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CloseRequest(val handle: StreamHandle)

Request object containing input parameters for the IODomain.close command.

Link copied to clipboard
@Serializable
object CloseResponse

A dummy response object for the IODomain.close command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
class IODomain

Input/Output operations for streams produced by DevTools.

Link copied to clipboard
@Serializable
data class ReadRequest(val handle: StreamHandle, val offset: Int? = null, val size: Int? = null)

Request object containing input parameters for the IODomain.read command.

Link copied to clipboard
@Serializable
data class ReadResponse(val base64Encoded: Boolean? = null, val data: String, val eof: Boolean)

Response type for the IODomain.read command.

Link copied to clipboard
@Serializable
data class ResolveBlobRequest(val objectId: RemoteObjectId)

Request object containing input parameters for the IODomain.resolveBlob command.

Link copied to clipboard
@Serializable
data class ResolveBlobResponse(val uuid: String)

Response type for the IODomain.resolveBlob command.

Link copied to clipboard
typealias StreamHandle = String

This is either obtained from another method or specified as blob:<uuid> where <uuid&gt is an UUID of a Blob.

Official doc