class

OpenAI::SSEEvent

Inherits Reference < Object

Represents a single SSE event

Constructors

new(data : String, event : Nil | String = nil, id : Nil | String = nil, retry_ms : Int32 | Nil = nil)
Source

Instance methods

data
Source
data=(data : String)
Source
event
Source
event=(event : String | Nil)
Source
id=(id : String | Nil)
Source
retry_ms
Source
retry_ms=(retry_ms : Int32 | Nil)
Source