in SignalR run some logic before user will connect

Viewed 31

I am using .NET 6 and Microsoft.AspNetCore.App Framework (SignalR is included there)

I want to run some logic before client will connect to the Hub.(I want to have and use my own attribute like [Authorize] attribute). As I know In older versions of .NET there was IHubFilter but in ASP.NET Core 6 there is not something like this..

0 Answers
Related