Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Module thc_Web

drolla edited this page Feb 9, 2016 · 11 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