C# Class SignalR.Samples.Hubs.Chat.Chat

Inheritance: SignalR.Hubs.Hub, IDisconnect
ファイルを表示 Open project: Icenium/SignalR

Public Methods

Method Description
Disconnect ( ) : Task
GetUsers ( ) : IEnumerable
Join ( ) : bool
RejoiningGroups ( IEnumerable groups ) : IEnumerable
Send ( string content ) : void

Private Methods

Method Description
AddUser ( string newUserName ) : Chat.Models.ChatUser
EnsureUser ( ) : void
EnsureUserAndRoom ( ) : void
ExtractContent ( string url ) : Task
ExtractContent ( HttpWebResponse response ) : string
GetMD5Hash ( string name ) : string
Transform ( string message, HashSet &extractedUrls ) : string
TryHandleCommand ( string message ) : bool

Method Details

Disconnect() public method

public Disconnect ( ) : Task
return Task

GetUsers() public method

public GetUsers ( ) : IEnumerable
return IEnumerable

Join() public method

public Join ( ) : bool
return bool

RejoiningGroups() public method

public RejoiningGroups ( IEnumerable groups ) : IEnumerable
groups IEnumerable
return IEnumerable

Send() public method

public Send ( string content ) : void
content string
return void