laravel-echo
Version:
Laravel Echo library for beautiful Pusher and Socket.IO integration
11 lines (10 loc) • 318 B
TypeScript
import { SocketIoChannel } from './socketio-channel';
/**
* This class represents a Socket.io private channel.
*/
export declare class SocketIoPrivateChannel extends SocketIoChannel {
/**
* Send a whisper event to other clients in the channel.
*/
whisper(eventName: string, data: unknown): this;
}