laravel-echo
Version:
Laravel Echo library for beautiful Pusher and Socket.IO integration
12 lines (11 loc) • 433 B
TypeScript
import { PusherChannel } from './pusher-channel';
import type { BroadcastDriver } from '../echo';
/**
* This class represents a Pusher private channel.
*/
export declare class PusherEncryptedPrivateChannel<TBroadcastDriver extends BroadcastDriver> extends PusherChannel<TBroadcastDriver> {
/**
* Send a whisper event to other clients in the channel.
*/
whisper(eventName: string, data: Record<any, any>): this;
}