Property | Type | Description | |
---|---|---|---|
GetApiList | string | ||
GetStylings | string | ||
InterpretRequest | EndPoint | ||
ListInterfaces | void | ||
PingLed | void | ||
SendResponse | void | ||
StartServer | void | ||
WriteBytes | void |
Method | Description | |
---|---|---|
RegisterEndPoint ( EndPoint endPoint ) : void | ||
Start ( ) : void |
Initialize the multithreaded server.
|
|
WebServer ( int port, bool enableLedStatus = true ) : System |
Instantiates a new webserver.
|
Method | Description | |
---|---|---|
GetApiList ( ) : string | ||
GetStylings ( ) : string | ||
InterpretRequest ( string rawData ) : EndPoint |
Parses a raw web request and filters out the command and arguments.
|
|
ListInterfaces ( ) : void | ||
PingLed ( ) : void | ||
SendResponse ( string response, Socket connection ) : void | ||
StartServer ( ) : void |
Starts the server.
|
|
WriteBytes ( byte bytes, Socket connection ) : void |
public RegisterEndPoint ( EndPoint endPoint ) : void | ||
endPoint | EndPoint | |
return | void |
public WebServer ( int port, bool enableLedStatus = true ) : System | ||
port | int | Port number to listen on. |
enableLedStatus | bool | |
return | System |