C# Class HA4IoT.Networking.Http.HttpServer

Inheritance: IDisposable
显示文件 Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
Bind ( int port ) : void
Dispose ( ) : void
HttpServer ( ) : System

Private Methods

Method Description
HandleConnection ( StreamSocket clientSocket ) : void
HandleConnection ( StreamSocketListener sender, StreamSocketListenerConnectionReceivedEventArgs args ) : void
HandleHttpRequest ( object sender, HttpRequestReceivedEventArgs eventArgs ) : void
HandleWebSocketConnected ( object sender, WebSocketConnectedEventArgs eventArgs ) : void

Method Details

Bind() public method

public Bind ( int port ) : void
port int
return void

Dispose() public method

public Dispose ( ) : void
return void

HttpServer() public method

public HttpServer ( ) : System
return System