EventSource
Constructors
<init>
Exposes the JavaScript EventSource to Kotlin
EventSource(
url: String,
eventSourceInitDict: EventSourceInit = definedExternally)Properties
onmessage
var onmessage: ((MessageEvent) -> dynamic)?readyState
open val readyState: Shorturl
open val url: StringwithCredentials
open val withCredentials: BooleanFunctions
close
fun close()