struct Radbas::ServerSentEvents::Message

Defined in:

radbas-framework/server_sent_events.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Iterable(String), event : String | Nil = nil, id : String | Nil = nil, retry : Int64 | Nil = nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(data _data = @data, event _event = @event, id _id = @id, retry _retry = @retry) #

[View source]
def data : Iterable(String) #

def event : String | Nil #

def id : String | Nil #

def retry : Int64 | Nil #

def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]