Client

abstract external class Client : 
    UnionClientOrMessagePortOrServiceWorker
(source)

Platform and version requirements: JS

Exposes the JavaScript Client to Kotlin

Constructors

<init>

Client()

Exposes the JavaScript Client to Kotlin

Properties

frameType

open val frameType: FrameType

id

open val id: String

url

open val url: String

Functions

postMessage

fun postMessage(
    message: Any?,
    transfer: Array<dynamic> = definedExternally)

Inheritors

WindowClient

abstract external class WindowClient : Client

Exposes the JavaScript WindowClient to Kotlin