Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using SignalR.Hubs;
- namespace webApps_clientsidehtml5.SignalR.Chat
- {
- public class Chat : Hub
- {
- public void Send(string message)
- {
- Clients.addMessage(Caller.userName + ": " + message);
- }
- }
- }
Add Comment
Please, Sign In to add comment