C# Class TouchRemote.Core.Http.HttpServer

Afficher le fichier Open project: pieceofsummer/TouchRemote Class Usage Examples

Private Properties

Свойство Type Description
IncomingConnection void
IncomingConnection6 void
ListenerThread void
WorkerConnection void

Méthodes publiques

Méthode Description
HttpServer ( ushort port ) : System
Start ( ) : void
Stop ( ) : void
WaitForConnectionsClosed ( System.TimeSpan waitFor ) : void

Méthodes protégées

Méthode Description
HasPostData ( string method ) : bool?
IsValidProtocol ( string protocol, string version ) : bool
LogError ( Exception error ) : void
LogMessage ( string format ) : void

Private Methods

Méthode Description
IncomingConnection ( IAsyncResult ar ) : void
IncomingConnection6 ( IAsyncResult ar ) : void
ListenerThread ( ) : void
WorkerConnection ( object state ) : void

Method Details

HasPostData() protected méthode

protected HasPostData ( string method ) : bool?
method string
Résultat bool?

HttpServer() public méthode

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

IsValidProtocol() protected méthode

protected IsValidProtocol ( string protocol, string version ) : bool
protocol string
version string
Résultat bool

LogError() protected méthode

protected LogError ( Exception error ) : void
error System.Exception
Résultat void

LogMessage() protected méthode

protected LogMessage ( string format ) : void
format string
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

WaitForConnectionsClosed() public méthode

public WaitForConnectionsClosed ( System.TimeSpan waitFor ) : void
waitFor System.TimeSpan
Résultat void