Skip to main content

presence_event

Function presence_event 

Source
pub fn presence_event(text: &str) -> Option<Value>
Expand description

A well-formed presence control frame (§8.6.2), the one inbound realtime event a native host surfaces as an event: a fanout, or the server’s refusal of this client’s own publish, which carries the server’s error code.