TsgcHTTPServer › Methods
Public methods grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| Start | Starts the HTTP server from a secondary thread so the calling thread is not blocked while bindings are opened. |
| Stop | Stops the HTTP server from a secondary thread so the calling thread is not blocked while connections are closed. |
| ReStart | Stops and then restarts the server from a secondary thread, useful after changing bindings or ports at runtime. |
| DisconnectAll | Disconnects every active client connection while keeping the server listening for new connections. |
| Name | Description |
|---|---|
| PushPromiseAddPreLoadLinks | Registers an HTTP/2 Server Push rule that preloads a set of related resources whenever a matching request path is served. |
| PushPromiseRemovePreLoadLinks | Removes the HTTP/2 Server Push rule previously registered for the given request path. |
| Name | Description |
|---|---|
| DisconnectAll | Disconnects every active client connection while keeping the server listening for new connections. |
| PushPromiseAddPreLoadLinks | Registers an HTTP/2 Server Push rule that preloads a set of related resources whenever a matching request path is served. |
| PushPromiseRemovePreLoadLinks | Removes the HTTP/2 Server Push rule previously registered for the given request path. |
| ReStart | Stops and then restarts the server from a secondary thread, useful after changing bindings or ports at runtime. |
| Start | Starts the HTTP server from a secondary thread so the calling thread is not blocked while bindings are opened. |
| Stop | Stops the HTTP server from a secondary thread so the calling thread is not blocked while connections are closed. |