Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Phoenix::Message
Inherits
Struct
<
Value
<
Object
Constants
CHANNEL_EVENTS = { join: "phx_join", leave: "phx_leave", reply: "phx_reply", error: "phx_error", close: "phx_close", }
Phoenix protocol events
Constructors
new
(topic :
String
, event :
String
, payload :
JSON::Any
, join_ref :
String
|
Nil
= nil, ref :
String
|
Nil
= nil)
Source
Instance methods
event
Source
join_ref
Source
payload
Source
ref
Source
reply_event?
Source
topic
Source