C# Class CampfireHoon.CampfireRoom

Show file Open project: pebblecode/ChatQuiz Class Usage Examples

Private Properties

Property Type Description
FormatUserChatMessage ChatMessage
GetUserInfo void
LogHttpWebResponse void
ParseChatMessage Task
PreloadUsers void
StartStreaming void
SystemMessage void

Public Methods

Method Description
CampfireRoom ( AccountConfig config, int roomId, bool useSsl ) : Newtonsoft.Json
Join ( ) : void
Say ( string message ) : void

Private Methods

Method Description
FormatUserChatMessage ( ChatMessageDTO chatDto ) : ChatMessage
GetUserInfo ( int userId ) : void
LogHttpWebResponse ( string action, HttpWebResponse response ) : void
ParseChatMessage ( string line ) : Task
PreloadUsers ( ) : void
StartStreaming ( ) : void
SystemMessage ( string message ) : void

Method Details

CampfireRoom() public method

public CampfireRoom ( AccountConfig config, int roomId, bool useSsl ) : Newtonsoft.Json
config AccountConfig
roomId int
useSsl bool
return Newtonsoft.Json

Join() public method

public Join ( ) : void
return void

Say() public method

public Say ( string message ) : void
message string
return void