C# Class httpWebServer.HttpWebServer

Afficher le fichier Open project: happyt/webServer Class Usage Examples

Méthodes publiques

Свойство Type Description
MessageHandler ProcessMessage
appCmdResponse string
appCommand string
appErrorResponse string
appFileType string
portNumber string

Méthodes publiques

Méthode Description
Start ( ) : void

Creates the http server and opens listener

Stop ( ) : void

Stops listening

Méthodes protégées

Méthode Description
OnCommand ( HttpCommandArgs e ) : void

Invoke the message received event

Private Methods

Méthode Description
ProcessRequest ( IAsyncResult result ) : void

Process the web request

RaiseCommand ( string strMessage ) : void

Set up the parameters and raise a Reply message event

StripParameters ( string filetype ) : string

Need to take off any string after a question mark character

Method Details

OnCommand() protected méthode

Invoke the message received event
protected OnCommand ( HttpCommandArgs e ) : void
e HttpCommandArgs
Résultat void

Start() public méthode

Creates the http server and opens listener
public Start ( ) : void
Résultat void

Stop() public méthode

Stops listening
public Stop ( ) : void
Résultat void

Property Details

MessageHandler public_oe property

public ProcessMessage MessageHandler
Résultat ProcessMessage

appCmdResponse public_oe property

public string appCmdResponse
Résultat string

appCommand public_oe property

public string appCommand
Résultat string

appErrorResponse public_oe property

public string appErrorResponse
Résultat string

appFileType public_oe property

public string appFileType
Résultat string

portNumber public_oe property

public string portNumber
Résultat string