C# Class WebEngine.HttpServer

Show file 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 static property

public static HttpServer,WebEngine instance
return HttpServer

isRunning public property

public bool isRunning
return bool