Skip to content

Module thc_Web

Andreas Drollinger edited this page Nov 8, 2019 · 14 revisions

Web interface

Overview

This module provides a simple but complete web interface for THC. To enable the interface it needs to be initiated with the command thc::Web::Start.

The web interface adds to THC a HTTP web server and provides a web application. Both the web application and the web server can be extended if necessary (see Web server API).

Commands


Proc: thc::Web::Start

Starts the HTTP server. This command starts an HTTP web server at the specified port.

Parameters

Parameters Description
Port HTTP port

Returns

HTTP server socket identifier

Examples

 thc::Web::Start 8087

Proc: thc::Web::Stop

Closes a running HTTP web server.

Returns

-

Examples

 thc::Web::Stop

Clone this wiki locally