Fixup sample (#12880)
parent
d44d45060f
commit
82e9a02135
|
@ -5,7 +5,7 @@ namespace SignalRWebPack.Hubs
|
||||||
{
|
{
|
||||||
public class ChatHub : Hub
|
public class ChatHub : Hub
|
||||||
{
|
{
|
||||||
public async Task NewMessage(string username, string message)
|
public async Task NewMessage(long username, string message)
|
||||||
{
|
{
|
||||||
await Clients.All.SendAsync("messageReceived", username, message);
|
await Clients.All.SendAsync("messageReceived", username, message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue