class

Phoenixchannels::Socket

Inherits Reference < Object

Constructors

new(address : String, params = Hash(String, Array(String)).new)
Source

Instance methods

abnormal_close(reason : String)
Source
channel(topic : String, payload : T) forall T
Source
install_heartbeat(heartbeat_timeout : Time::Span = 1.second)
Source
make_ref
Source
send(msg : Message)
Source
stream_messages(decode_type : T.class) : Channel(Message(T)) forall T
Source
stream_messages_with_filter(once, decode_type : T.class, &filter : Message(T) -> Bool) : Channel(Message(T)) forall T
Source

Nested types