Phoenixchannels::Socket
Inherits Reference < Object
Constructors
new(address : String, params = Hash(String, Array(String)).new)
SourceInstance methods
abnormal_close(reason : String)
Sourcechannel(topic : String, payload : T) forall T
Sourceinstall_heartbeat(heartbeat_timeout : Time::Span = 1.second)
Sourcemake_ref
Sourcerun
Sourcesend(msg : Message)
Sourcestream_messages(decode_type : T.class) : Channel(Message(T)) forall T
Sourcestream_messages_with_filter(once, decode_type : T.class, &filter : Message(T) -> Bool) : Channel(Message(T)) forall T
Source