gossip v1.2.0 Gossip.Socket.Core View Source

“channels” flag functions

Link to this section Summary

Functions

Send an authorization event

Broadcast a new message

Process an “authenticate” event from the server

Process a “channels/broadcast” event from the server

Process a “heartbeat” event from the server

Process a “restart” event from the server

Subscribe to a new channel

Determine which support flags are available based on configured callbacks

Unsubscribe to a new channel

Link to this section Functions

Send an authorization event

Link to this function broadcast(state, channel, message) View Source

Broadcast a new message

Link to this function process_authenticate(state, message) View Source

Process an “authenticate” event from the server

Link to this function process_channel_broadcast(state, map) View Source

Process a “channels/broadcast” event from the server

Link to this function process_heartbeat(state) View Source

Process a “heartbeat” event from the server

Link to this function process_restart(state, map) View Source

Process a “restart” event from the server

Link to this function subscribe(state, channel) View Source

Subscribe to a new channel

Determine which support flags are available based on configured callbacks

Link to this function unsubscribe(state, channel) View Source

Unsubscribe to a new channel