Filter Outgoing SignalR Core Hub Messages

Viewed 225

I am using SignalR and .Net 5.0 and leveraging Hub Filters to execute code on incoming Invokations to my SignalR Hub.

I am looking for a way to do the same thing with outgoing messages from the Hub to the Client but seem to be coming up with no options. Perhaps alternatively, I would love to hook into and execute code specifically when the built in Ping Messages are sent out.

It looks like similar functionality used to be possible in the old version's HubPipeLineModule but I have not been able to find any way to achieve this in current SignalR. Is this possible?

0 Answers
Related