Class: Rasti::Web::ServerSentEvent

Inherits:
String
  • Object
show all
Defined in:
lib/rasti/web/server_sent_event.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/rasti/web/server_sent_event.rb', line 5

def data
  @data
end

#eventObject (readonly)

Returns the value of attribute event.



5
6
7
# File 'lib/rasti/web/server_sent_event.rb', line 5

def event
  @event
end

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/rasti/web/server_sent_event.rb', line 5

def id
  @id
end