I need to process laravel-echo-server some events like onConnect, onDisconnecting and others.
Would be nice to have possibility to process this events with custom code additionally (for example with javascript). I've found events processing in src/echo-server.ts file.
For example declare in laravel-echo-server.json file with custom functions to process events (process_onConnect, process_onDisconnecting and etc., for example) and import these functions in src/echo-servers.ts file on file with custom functions existense and invoke function in events at the end of processing function.
For example:
I need to process laravel-echo-server some events like onConnect, onDisconnecting and others.
Would be nice to have possibility to process this events with custom code additionally (for example with javascript). I've found events processing in src/echo-server.ts file. For example declare in
laravel-echo-server.json
file with custom functions to process events (process_onConnect
, process_onDisconnecting and etc., for example) and import these functions insrc/echo-servers.ts
file on file with custom functions existense and invoke function in events at the end of processing function. For example: