Open
Description
I'm using
socket.use(([event, ...args], next) => {
incommingEventFilter(socket, [event, args], next);
});
socket.prependAnyOutgoing(outgoingEventFilter);
to filter and log all income & outgoing event;
It work well...but...
Client-Side:
socket.emitWithAck("hello", "world", (err, val) => {
//...
});
Server-Side:
socket.on("hello", (arg, callback) => {
console.log(arg); // "world"
callback("got it");
});
In postman client, i received event 'hello' with data 'got it';
The one thing is event 'hello' with 'got it' was not logged by socket.prependAnyOutgoing()
Describe the solution you'd like
Please add callback Ack to socket.prependAnyOutgoing() or is there any way to log all callback Ack 🤔🤔