C# Class WeebIRCWebEdition.HttpServer

Afficher le fichier Open project: RareAMV/WeebIRC Class Usage Examples

Méthodes publiques

Свойство Type Description
DebugCallbackMethod Action
MessageReceivedCallback Action
defaultPage string
disconnect bool
fileDir string
homeDir string
jsonDataToSend string
listener System.Net.Sockets.TcpListener
rawJsonToSend string
runServer Thread

Méthodes publiques

Méthode Description
HttpServer ( ) : System
HttpServer ( Action MessageReceivedCallback ) : System
HttpServer ( Action DebugCallbackMethod, Action MessageReceivedCallback, int port ) : System
HttpServer ( Action MessageReceivedCallback, int port ) : System
HttpServer ( int port ) : System
IsFontFile ( string filename ) : bool
IsImageFile ( string filename ) : bool
IsMediaFile ( string filename ) : bool
IsStylingFile ( string filename ) : bool
IsSubtitleFile ( string filename ) : bool
IsWebPageFile ( string filename ) : bool
JsonToSend ( string json ) : void
SendMessage ( string msg ) : void
ServerLogic ( int port ) : void
SetDefaultPage ( string fileName ) : void
SetFileDir ( string dir ) : void
SetWebHomeDir ( string dir ) : void
StopServer ( ) : void

Method Details

HttpServer() public méthode

public HttpServer ( ) : System
Résultat System

HttpServer() public méthode

public HttpServer ( Action MessageReceivedCallback ) : System
MessageReceivedCallback Action
Résultat System

HttpServer() public méthode

public HttpServer ( Action DebugCallbackMethod, Action MessageReceivedCallback, int port ) : System
DebugCallbackMethod Action
MessageReceivedCallback Action
port int
Résultat System

HttpServer() public méthode

public HttpServer ( Action MessageReceivedCallback, int port ) : System
MessageReceivedCallback Action
port int
Résultat System

HttpServer() public méthode

public HttpServer ( int port ) : System
port int
Résultat System

IsFontFile() public méthode

public IsFontFile ( string filename ) : bool
filename string
Résultat bool

IsImageFile() public méthode

public IsImageFile ( string filename ) : bool
filename string
Résultat bool

IsMediaFile() public méthode

public IsMediaFile ( string filename ) : bool
filename string
Résultat bool

IsStylingFile() public méthode

public IsStylingFile ( string filename ) : bool
filename string
Résultat bool

IsSubtitleFile() public méthode

public IsSubtitleFile ( string filename ) : bool
filename string
Résultat bool

IsWebPageFile() public méthode

public IsWebPageFile ( string filename ) : bool
filename string
Résultat bool

JsonToSend() public méthode

public JsonToSend ( string json ) : void
json string
Résultat void

SendMessage() public méthode

public SendMessage ( string msg ) : void
msg string
Résultat void

ServerLogic() public méthode

public ServerLogic ( int port ) : void
port int
Résultat void

SetDefaultPage() public méthode

public SetDefaultPage ( string fileName ) : void
fileName string
Résultat void

SetFileDir() public méthode

public SetFileDir ( string dir ) : void
dir string
Résultat void

SetWebHomeDir() public méthode

public SetWebHomeDir ( string dir ) : void
dir string
Résultat void

StopServer() public méthode

public StopServer ( ) : void
Résultat void

Property Details

DebugCallbackMethod public_oe property

public Action DebugCallbackMethod
Résultat Action

MessageReceivedCallback public_oe property

public Action MessageReceivedCallback
Résultat Action

defaultPage public_oe property

public string defaultPage
Résultat string

disconnect public_oe static_oe property

public static bool disconnect
Résultat bool

fileDir public_oe property

public string fileDir
Résultat string

homeDir public_oe property

public string homeDir
Résultat string

jsonDataToSend public_oe property

public string jsonDataToSend
Résultat string

listener public_oe property

public TcpListener,System.Net.Sockets listener
Résultat System.Net.Sockets.TcpListener

rawJsonToSend public_oe property

public string rawJsonToSend
Résultat string

runServer public_oe property

public Thread runServer
Résultat Thread