EventParser

Parses & Dispatches Server-Sent Events.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class EventInfo(var retry: String? = null, var event: String? = null, var id: String? = null, var data: String? = null)

Functions

Link copied to clipboard
fun process(data: Buffer, dispatcher: (EventParser.EventInfo) -> Unit)

Push mode processing.