C# Class WebServerTask.HttpServer

Inheritance: IDisposable
Mostra file Open project: mmackes/Windows-10-IoT-PoolController Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
HttpServer ( int serverPort, AppServiceConnection connection ) : System
StartServer ( ) : void

Private Methods

Method Description
GetHeader ( bool urlFound, string bodyStreamLength ) : string
ProcessRequestAsync ( StreamSocket socket ) : void
WriteGetResponseAsync ( string request, IOutputStream os ) : System.Threading.Tasks.Task
WriteMethodNotSupportedResponseAsync ( string request, IOutputStream os ) : System.Threading.Tasks.Task
WritePostResponseAsync ( string request, IOutputStream os ) : System.Threading.Tasks.Task
WriteResponseAsync ( string RequestMsg, string ResponseMsg, bool urlFound, byte bodyArray, IOutputStream os ) : System.Threading.Tasks.Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HttpServer() public method

public HttpServer ( int serverPort, AppServiceConnection connection ) : System
serverPort int
connection AppServiceConnection
return System

StartServer() public method

public StartServer ( ) : void
return void