예제 #1
0
 public static Task UserIdAddAsync(this IConnectionMapping map, string userId, string connectionId)
 {
     return(map.AddAsync(UserIdPrefix + userId, connectionId));
 }
예제 #2
0
 public static Task GroupAddAsync(this IConnectionMapping map, string group, string connectionId)
 {
     return(map.AddAsync(GroupPrefix + group, connectionId));
 }