Skip to content

Class: ChannelSocket

Uses the channel.${channelId} Pusher channel. Contains events directly related to the channel, e.g, followers, subscriptions, etc.

Full list of events listed on ChannelEventEmitters.

Extends

Methods

disconnect()

disconnect(channelId): Promise<void>

Parameters

ParameterType
channelIdstring | number

Returns

Promise<void>

ws/channel/channel.socket.ts:68


listen()

listen(channelId): Promise<void>

Parameters

ParameterType
channelIdstring | number

Returns

Promise<void>

ws/channel/channel.socket.ts:27


Generated using typedoc-plugin-markdown and TypeDoc