Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PusherPrivateChannel

Hierarchy

Callable

  • __call(pusher: Pusher, name: string, options: any): PusherChannel

Index

Properties

eventFormatter

eventFormatter: EventFormatter

The event formatter.

name

name: string

The name of the channel.

options

options: any

Channel options.

pusher

pusher: Pusher

The pusher client instance

subscription

subscription: pusher.Channel

The subscription of the channel.

Methods

listen

  • listen(event: string, callback: function): Channel

listenForWhisper

  • listenForWhisper(event: string, callback: function): Channel

notification

  • notification(callback: function): Channel

on

  • on(event: string, callback: pusher.EventCallback): Channel

stopListening

  • stopListening(event: string): Channel

subscribe

  • subscribe(): void

unsubscribe

  • unsubscribe(): void

whisper