Méthode | Description | |
---|---|---|
AddResponse ( Response response ) : void |
Adds a Response
|
|
RemoveResponse ( String ResponseName ) : void |
Removes a Response
|
|
Server ( int portNumber = 80, bool DhcpEnable = true, string ipAddress = "", string subnetMask = "", string gatewayAddress = "" ) : System |
Creates an NeonMika.Webserver instance
|
|
Start ( ) : void |
Start the webserver thread
|
|
Stop ( ) : void |
Stop the webserver thread
|
Méthode | Description | |
---|---|---|
HandleGETResponses ( Request e ) : void |
Checks what Response has to be executed. It compares the requested page URL with the URL set for the coded responses
|
|
ResponseListInitialize ( ) : void |
Initialize the basic functionalities of the webserver
|
|
SaveConfig ( Request e, Object ret ) : void |
Store config var from browser down onto SD Card and restart the device.
|
|
WaitingForRequest ( ) : void |
Waiting for client to connect. When bytes were read they get wrapped to a "Reqeust"
|
public AddResponse ( Response response ) : void | ||
response | Response | XMLResponse that has to be added |
Résultat | void |
public RemoveResponse ( String ResponseName ) : void | ||
ResponseName | String | XMLResponse that has to be deleted |
Résultat | void |
public Server ( int portNumber = 80, bool DhcpEnable = true, string ipAddress = "", string subnetMask = "", string gatewayAddress = "" ) : System | ||
portNumber | int | The port to listen for incoming requests |
DhcpEnable | bool | |
ipAddress | string | |
subnetMask | string | |
gatewayAddress | string | |
Résultat | System |