메소드 | 설명 | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
HttpServer ( ServerScheme scheme, int port, IHttpHandler handler ) : System |
Initializes a new instance of the T:Stumps.Http.HttpServer class.
|
|
HttpServer ( int port, IHttpHandler handler ) : System |
Initializes a new instance of the T:Stumps.Http.HttpServer class.
|
|
StartListening ( ) : void |
Starts the instance listening for HTTP requests.
|
|
StopListening ( ) : void |
Stops the instance from listening for HTTP requests.
|
메소드 | 설명 | |
---|---|---|
ProcessAsyncRequest ( ) : void |
Processes the incoming HTTP request asynchronously.
|
|
WaitForConnections ( ) : void |
Wait for incoming HTTP connections.
|
public HttpServer ( ServerScheme scheme, int port, IHttpHandler handler ) : System | ||
scheme | ServerScheme | |
port | int | The port the HTTP server is using to listen for traffic. |
handler | IHttpHandler | The default |
리턴 | System |
public HttpServer ( int port, IHttpHandler handler ) : System | ||
port | int | The port the HTTP server is using to listen for traffic. |
handler | IHttpHandler | The default |
리턴 | System |