diff --git a/Hubs/Broadcaster.cs b/Hubs/Broadcaster.cs index 0963ae9..9f77b7d 100644 --- a/Hubs/Broadcaster.cs +++ b/Hubs/Broadcaster.cs @@ -7,11 +7,11 @@ namespace LiveGameFeed.Hubs { public override Task OnConnected() { - return Clients.All.Message("New connection " + Context.ConnectionId); + return Clients.All.userConnected("New connection " + Context.ConnectionId); } public Task Broadcast(string message) { - return Clients.All.Message(Context.ConnectionId + "> " + message); + return Clients.All.messageReceived(Context.ConnectionId + "> " + message); } } } \ No newline at end of file diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index b8cbfc2..ff82fd5 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -26,7 +26,8 @@