SSEServerContent

constructor(call: ApplicationCall, handle: suspend ServerSSESession.() -> Unit)


constructor(call: ApplicationCall, handle: suspend ServerSSESession.() -> Unit, serialize: (TypeInfo, Any) -> String? = null)

Parameters

call

that is starting SSE session.

handle

function that is started once SSE session created.