WebServer#
Information about the controller’s web server is available in the web_server namespace. In trigger action scripts the web_server namespace is added directly to the environment; in IO modules it is in the controller namespace, i.e. controller.web_server.
Properties#
The web_server namespace has the following properties:
Property |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
boolean |
True if the web server is enabled |
|
|
integer |
The port the HTTP web server is listening on or 0 if disabled. |
|
|
integer |
The port the HTTPS web server is listening on or 0 if disabled. |
|