mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-23 01:37:59 +00:00
add Hub client interface
This commit is contained in:
@@ -19,7 +19,7 @@ namespace LiveGameFeed.Controllers
|
||||
[HttpPost]
|
||||
public void Post([FromBody]ChatMessage message)
|
||||
{
|
||||
this.Clients.Group(message.MatchId.ToString()).addChatMessage(message);
|
||||
this.Clients.Group(message.MatchId.ToString()).AddChatMessage(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user