Pusher v2.2.0 Pusher.WS.PusherEvent View Source
Link to this section Summary
Functions
Returns JSON for a client event
on channel
sending data
Return a JSON for a subscription request using the channel
name as parameter
Return a JSON for a subscription request using the private channel
, socket_id
and the credential
Return a JSON for a subscription request using the presence channel
, socket_id
,
the credential
and the user
Return a JSON for a unsubscription request using the channel
name as parameter
Link to this section Functions
client_event(event, data, channel) View Source
Returns JSON for a client event
on channel
sending data
subscribe(channel) View Source
Return a JSON for a subscription request using the channel
name as parameter
subscribe(channel, socket_id, credential) View Source
Return a JSON for a subscription request using the private channel
, socket_id
and the credential
subscribe(channel, socket_id, credential, user) View Source
Return a JSON for a subscription request using the presence channel
, socket_id
,
the credential
and the user
unsubscribe(channel) View Source
Return a JSON for a unsubscription request using the channel
name as parameter