mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-13 17:23:11 -05:00
14 lines
265 B
C#
14 lines
265 B
C#
using Microsoft.AspNet.SignalR;
|
|
using Microsoft.AspNet.SignalR.Hubs;
|
|
|
|
namespace WeatherService.SignalR
|
|
{
|
|
public class WeatherHub : Hub
|
|
{
|
|
public void Send(string message)
|
|
{
|
|
Clients.Others.addMessage(message);
|
|
}
|
|
}
|
|
}
|