UNPKG

laravel-echo

Version:

Laravel Echo library for beautiful Pusher and Socket.IO integration

12 lines (11 loc) 424 B
import { PusherChannel } from './pusher-channel'; import type { BroadcastDriver } from '../echo'; /** * This class represents a Pusher private channel. */ export declare class PusherPrivateChannel<TBroadcastDriver extends BroadcastDriver> extends PusherChannel<TBroadcastDriver> { /** * Send a whisper event to other clients in the channel. */ whisper(eventName: string, data: Record<any, any>): this; }