C# Class Retrospection.HttpServer

Exibir arquivo Open project: sealuzh/PersonalAnalytics Class Usage Examples

Public Methods

Method Description
AddHandler ( string token, HttpRequestHandlerDelegate handlerDelegate ) : void
HttpServer ( ) : System
Start ( int port, bool loopback ) : bool
Stop ( ) : void

Private Methods

Method Description
HandlerThread ( object obj ) : void
ListenerThread ( ) : void
WriteString ( string str, Stream stream ) : void

Method Details

AddHandler() public method

public AddHandler ( string token, HttpRequestHandlerDelegate handlerDelegate ) : void
token string
handlerDelegate HttpRequestHandlerDelegate
return void

HttpServer() public method

public HttpServer ( ) : System
return System

Start() public method

public Start ( int port, bool loopback ) : bool
port int
loopback bool
return bool

Stop() public method

public Stop ( ) : void
return void