EventSourceMessageReceivedEvent

data class EventSourceMessageReceivedEvent(requestId: RequestId, timestamp: MonotonicTime, eventName: String, eventId: String, data: String) : Event

Fired when EventSource message is received.

Constructors

EventSourceMessageReceivedEvent
Link copied to clipboard
fun EventSourceMessageReceivedEvent(requestId: RequestId, timestamp: MonotonicTime, eventName: String, eventId: String, data: String)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

data
Link copied to clipboard
val data: String
Message content.
eventId
Link copied to clipboard
val eventId: String
Message identifier.
eventName
Link copied to clipboard
val eventName: String
Message type.
requestId
Link copied to clipboard
val requestId: RequestId
Request identifier.
timestamp
Link copied to clipboard
val timestamp: MonotonicTime
Timestamp.

Sources

jvm source
Link copied to clipboard