class Radbas::ServerSentEvents::Stream
- Radbas::ServerSentEvents::Stream
- Reference
- Object
Defined in:
radbas-framework/server_sent_events.crConstructors
Instance Method Summary
- #close : Nil
- #closed? : Bool
- #idle_time : Int32
- #on_close(&on_close : -> )
- #send(message : Message) : Nil
- #send(data : Iterable(String), event : String | Nil = nil, id : String | Nil = nil, retry : Int64 | Nil = nil) : Nil
- #start : Nil
Constructor Detail
Instance Method Detail
def send(data : Iterable(String), event : String | Nil = nil, id : String | Nil = nil, retry : Int64 | Nil = nil) : Nil
#