Class: MisarMail::StreamEvent
- Inherits:
-
Struct
- Object
- Struct
- MisarMail::StreamEvent
- Defined in:
- lib/misar_mail/client.rb
Overview
One decoded SSE frame.
MisarMail emits unnamed frames — data: {...} with no event: line — so
event is normally nil. data is the decoded JSON; raw is always the
payload exactly as received.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#event ⇒ Object
Returns the value of attribute event.
-
#raw ⇒ Object
Returns the value of attribute raw.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
557 558 559 |
# File 'lib/misar_mail/client.rb', line 557 def data @data end |
#event ⇒ Object
Returns the value of attribute event
557 558 559 |
# File 'lib/misar_mail/client.rb', line 557 def event @event end |
#raw ⇒ Object
Returns the value of attribute raw
557 558 559 |
# File 'lib/misar_mail/client.rb', line 557 def raw @raw end |