C# Class HttpServer.HttpServer

A complete HTTP server, you need to add a module to it to be able to handle incoming requests.
Exibir arquivo Open project: fiki574/rAPB Class Usage Examples

Public Methods

Method Description
HttpServer ( ) : System
JsonEncode ( string text ) : string
MapHandlers ( ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
HandleCreateAccount ( HttpServer server, HttpListenerRequest request, string>.Dictionary parameters ) : string
HandleRequest ( object oContext ) : void
OnGetContext ( IAsyncResult result ) : void

Method Details

HttpServer() public method

public HttpServer ( ) : System
return System

JsonEncode() public static method

public static JsonEncode ( string text ) : string
text string
return string

MapHandlers() public static method

public static MapHandlers ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void