메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Microsoft.SPOT |
public SendResponse ( string response, string type = "text/html" ) : void | ||
response | string | |
type | string | |
리턴 | void |