onmessage

open var onmessage: (MessageEvent) -> dynamic?(source)

Since Kotlin

1.1