Method | Description | |
---|---|---|
Dispose ( ) : void | ||
ProcessRequestHeader ( ) : void | ||
Request ( IClientSocket client, char data ) : Microsoft.SPOT | ||
Send404 ( ) : void |
Send a Not Found response
|
|
SendFile ( string filePath ) : void |
Sends a file back to the client Assumes the application using this has checked whether it exists |
|
SendResponse ( string response, string type = "text/html" ) : void |
Send a response back to the client
|
Method | Description | |
---|---|---|
DoesFileNameHaveExtentsion ( string filePath ) : bool | ||
GetFileExtentsion ( string filePath ) : string | ||
MapMIMEType ( string filePath, string type ) : string | ||
NoBytesToRead ( int bytesRead ) : bool | ||
ProcessRequestHeader ( char data ) : void | ||
SendHeader ( string type, Stream inputStream ) : void | ||
SendResponseFromFile ( Stream inputStream ) : void |
public Request ( IClientSocket client, char data ) : Microsoft.SPOT | ||
client | IClientSocket | |
data | char | |
return | Microsoft.SPOT |
public SendResponse ( string response, string type = "text/html" ) : void | ||
response | string | |
type | string | |
return | void |