sunday
1.0.0-beta.18
sunday-core
/
io.outfoxx.sunday
/
EventParser
Event
Parser
class
EventParser
Parses & Dispatches Server-Sent Events.
Types
Constructors
Functions
Constructors
Event
Parser
Link copied to clipboard
fun
EventParser
(
)
Types
Companion
Link copied to clipboard
object
Companion
Event
Info
Link copied to clipboard
data
class
EventInfo
(
var
retry
:
String
?
=
null
,
var
event
:
String
?
=
null
,
var
id
:
String
?
=
null
,
var
data
:
String
?
=
null
)
Functions
process
Link copied to clipboard
fun
process
(
data
:
Buffer
,
dispatcher
:
(
EventParser.EventInfo
)
->
Unit
)
Push mode processing.