Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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
Source
id=
(id :
String
|
Nil
)
Source
retry_ms
Source
retry_ms=
(retry_ms :
Int32
|
Nil
)
Source