pl.wendigo.chrome.api.target / SendMessageToTargetRequest

SendMessageToTargetRequest

data class SendMessageToTargetRequest (source)

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.

Link
Target#sendMessageToTarget method documentation.

See Also

TargetOperations.sendMessageToTarget

Constructors

<init>

SendMessageToTargetRequest(message: String, sessionId: SessionID? = null, targetId: TargetID? = null)

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

Properties

message

val message: String

sessionId

val sessionId: SessionID?

Identifier of the session.

targetId

val targetId: TargetID?

Deprecated.