SessionEventStore

Cache for server-sent events for a session, facilitating replay of events when a session reconnects

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun read(session: Session, lastEventId: SseEventId?): Sequence<SseMessage.Event>
Link copied to clipboard
abstract fun write(session: Session, message: SseMessage.Event)