Метод | Описание | |
---|---|---|
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 |