C# Class WebEngine.HttpServer

Datei anzeigen Open project: CellAO/CellAO-NightPredator Class Usage Examples

Public Properties

Property Type Description
instance HttpServer
isRunning bool

Public Methods

Method Description
HttpServer ( ) : System

StartServer ( ) : void

StopServer ( ) : void

Private Methods

Method Description
GetDefaultPage ( string serverFolder ) : string

GetMimeType ( string extention ) : string

HttpThread ( Socket sockets ) : void

ProcessRequest ( string queryString ) : string

Updates the HTML file processes user interaction.

RegisterAccount ( List split ) : string
SendData ( byte data, Socket &sockets ) : void

SendData ( string data, Socket &sockets ) : void

SendError400 ( Socket &sockets ) : void
SendError404 ( Socket &sockets ) : void
StartListen ( ) : void

Method Details

HttpServer() public method

public HttpServer ( ) : System
return System

StartServer() public method

public StartServer ( ) : void
return void

StopServer() public method

public StopServer ( ) : void
return void

Property Details

instance public_oe static_oe property

public static HttpServer,WebEngine instance
return HttpServer

isRunning public_oe property

public bool isRunning
return bool