toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-realtime-core
/
org.http4k.sse
/
SseMessage
/
Event
Event
data
class
Event
(
val
event
:
String
,
val
data
:
String
=
""
,
val
id
:
SseEventId
?
=
null
)
:
SseMessage
Members
Constructors
Event
Link copied to clipboard
constructor
(
event
:
String
,
data
:
ByteArray
,
id
:
SseEventId
?
=
null
)
constructor
(
event
:
String
,
data
:
InputStream
,
id
:
SseEventId
?
=
null
)
constructor
(
event
:
String
,
data
:
String
=
""
,
id
:
SseEventId
?
=
null
)
Properties
data
Link copied to clipboard
val
data
:
String
event
Link copied to clipboard
val
event
:
String
id
Link copied to clipboard
val
id
:
SseEventId
?
=
null
Functions
to
Message
Link copied to clipboard
open
override
fun
toMessage
(
)
:
String