chrome-devtools-kotlin / org.hildan.chrome.devtools.protocol / RequestFrame

RequestFrame

data class RequestFrame

A request frame which can be sent to the server, as defined in the protocol's README

Constructors

<init>

A request frame which can be sent to the server, as defined in the protocol's README

RequestFrame(id: Long, method: String, params: JsonElement? = null, sessionId: String? = null)

Properties

id

Request id, must be unique in the current session.

val id: Long

method

Protocol method (e.g. Page.navigateTo).

val method: String

params

Request params (if any).

val params: JsonElement?

sessionId

Session ID for Target's flatten mode requests (see http://crbug.com/991325).

val sessionId: String?