Opens a channel connection.
Opens a channel connection.
the identifier of the channel
On success, JSON containing the channel data required by the ESHQ JS client library. (See http://app.eventsourcehq.com/es.js) E.G. {presence_id: null, channel: "given-channel-name", socket: "abadd00d-cafe-face-b408-5854230f7a5b"}
Sends an event message to the given channel.
Sends an event message to the given channel.
the channel name
the event to send
On success, JSON containing an empty object "{}"
Sends an event message to the given channel as JSON.
Sends an event message to the given channel as JSON.
the channel name
the event to send
On success, JSON containing an empty object "{}"