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
:
Short
url
open
val
url
:
String
withCredentials
open
val
withCredentials
:
Boolean
Functions
close
fun
close
(
)