共用方式為


Microsoft.AspNet.SignalR Namespace

Classes

AuthorizeLevelAttribute

Apply this attribute to SignalR Microsoft.AspNet.SignalR.Hub classes or methods to control access to them. Based on the AuthorizationLevel specified, access to the target action will be restricted to requests that have been granted that level or higher.