http4k-realtime-core
Toggle table of contents
6.20.0.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k-realtime-core
http4k-realtime-core
/
org.http4k.sse
/
SseMessage
/
Event
Event
data
class
Event
(
val
event
:
String
,
val
data
:
String
=
""
,
val
id
:
SseEventId
?
=
null
,
val
backoff
:
Duration
?
=
null
)
:
SseMessage
(
source
)
Members
Constructors
Event
Link copied to clipboard
constructor
(
event
:
String
,
data
:
String
=
""
,
id
:
SseEventId
?
=
null
,
backoff
:
Duration
?
=
null
)
constructor
(
event
:
String
,
data
:
ByteArray
,
id
:
SseEventId
?
=
null
,
backoff
:
Duration
?
=
null
)
constructor
(
event
:
String
,
data
:
InputStream
,
id
:
SseEventId
?
=
null
)
Properties
backoff
Link copied to clipboard
val
backoff
:
Duration
?
data
Link copied to clipboard
val
data
:
String
event
Link copied to clipboard
val
event
:
String
id
Link copied to clipboard
val
id
:
SseEventId
?
Functions
to
Message
Link copied to clipboard
open
override
fun
toMessage
(
)
:
String