I'm using signalR hub with Websockets and I need to create a middleware that will be invoked on each method on the hub. I used to work with context accessor but it only has the http request which has the first request to connect to the hub and not the actual method that is called on the hub.