C# Class MyChat.Hubs.ChatHub

Inheritance: Hub
显示文件 Open project: GokGokalp/dotnetcore-reactive-extensions

Public Methods

Method Description
ChatHub ( IChatEventHandler chatEventHandler ) : System.Threading.Tasks
SendMessage ( string sender, string message ) : Task

Method Details

ChatHub() public method

public ChatHub ( IChatEventHandler chatEventHandler ) : System.Threading.Tasks
chatEventHandler IChatEventHandler
return System.Threading.Tasks

SendMessage() public method

public SendMessage ( string sender, string message ) : Task
sender string
message string
return Task