Skip to content

Class: PrivateChannelSocket

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

Full list of events listed on PrivateChannelEventEmitters.

Extends

Methods

disconnect()

disconnect(channelId): Promise<void>

Parameters

ParameterType
channelIdstring | number

Returns

Promise<void>

ws/private-channel/private-channel.socket.ts:56


listen()

listen(channelId): Promise<void>

Parameters

ParameterType
channelIdstring | number

Returns

Promise<void>

ws/private-channel/private-channel.socket.ts:24


Generated using typedoc-plugin-markdown and TypeDoc