laravel-echo
Version:
Laravel Echo library for beautiful Pusher and Socket.IO integration
19 lines (18 loc) • 389 B
TypeScript
/**
* Event name formatter
*/
export declare class EventFormatter {
private namespace;
/**
* Create a new class instance.
*/
constructor(namespace: string | boolean | undefined);
/**
* Format the given event name.
*/
format(event: string): string;
/**
* Set the event namespace.
*/
setNamespace(value: string | boolean): void;
}