SendMessageToTargetRequest

data class SendMessageToTargetRequest(message: String, sessionId: SessionID?, targetId: TargetID?)

Represents request frame that can be used with Target#sendMessageToTarget operation call.

Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325.

See also

Constructors

SendMessageToTargetRequest
Link copied to clipboard
fun SendMessageToTargetRequest(message: String, sessionId: SessionID? = null, targetId: TargetID? = null)

Properties

message
Link copied to clipboard
val message: String
sessionId
Link copied to clipboard
val sessionId: SessionID? = null
Identifier of the session.
targetId
Link copied to clipboard
val targetId: TargetID? = null
Deprecated.

Sources

jvm source
Link copied to clipboard