Package doist.ffs.sse

Types

Link copied to clipboard
data class SseEvent(data: String, event: String?, id: String?)

Functions

Link copied to clipboard
fun SseEvent.write(writer: Writer)

Properties

Link copied to clipboard
const val HEADER_LAST_EVENT_ID: String
Link copied to clipboard
const val SSE_DEFAULT_RETRY: Long = 3000
Link copied to clipboard
const val SSE_FIELD_PREFIX_DATA: String
Link copied to clipboard
const val SSE_FIELD_PREFIX_EVENT: String
Link copied to clipboard
const val SSE_FIELD_PREFIX_ID: String
Link copied to clipboard
const val SSE_FIELD_PREFIX_RETRY: String