18 lines
409 B
C#
18 lines
409 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using Microsoft.AspNet.SignalR;
|
|
|
|
namespace RTCMultiConnection
|
|
{
|
|
public class RTCMultiConnectionHub : Hub
|
|
{
|
|
|
|
public void Send(string name, string message)
|
|
{
|
|
// Call the broadcastMessage method to update clients.
|
|
Clients.All.broadcastMessage(name, message);
|
|
}
|
|
}
|
|
} |