SseModel

data class SseModel(val type: String, val content: String, val timestamp: String)

Model representing an SSE (Server-Sent Event) message.

Constructors

Link copied to clipboard
constructor(type: String, content: String, timestamp: String)

Properties

Link copied to clipboard

The JSON string or text content of the event.

Link copied to clipboard

The ISO-8601 timestamp of the event.

Link copied to clipboard

The type of event (e.g. "message", "error", "done").