struct Radbas::ServerSentEvents::Message
- Radbas::ServerSentEvents::Message
- Struct
- Value
- Object
Defined in:
radbas-framework/server_sent_events.crConstructors
Instance Method Summary
- #clone
- #copy_with(data _data = @data, event _event = @event, id _id = @id, retry _retry = @retry)
- #data : Iterable(String)
- #event : String | Nil
- #id : String | Nil
- #retry : Int64 | Nil
-
#to_s(io : IO)
Same as
#inspect(io)
.
Constructor Detail
def self.new(data : Iterable(String), event : String | Nil = nil, id : String | Nil = nil, retry : Int64 | Nil = nil)
#
Instance Method Detail
def copy_with(data _data = @data, event _event = @event, id _id = @id, retry _retry = @retry)
#