SSEEvent

org.llm4s.llmconnect.streaming.SSEParser.SSEEvent
See theSSEEvent companion object
final case class SSEEvent

Represents a parsed SSE event

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isComplete: Boolean
def isEmpty: Boolean
def withData(data: String): SSEEvent
def withData(data: Option[String]): SSEEvent
def withEvent(event: String): SSEEvent
def withEvent(event: Option[String]): SSEEvent
def withId(id: String): SSEEvent
def withId(id: Option[String]): SSEEvent
def withRetry(retry: Int): SSEEvent
def withRetry(retry: Option[Int]): SSEEvent

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product