Httpd resource

Description
Configures the emulator to listen for HTTP requests. The HTTP server supports a REST API for scripts to control the emulator.

This resource sets up a single, global HTTP server for external scripts to use. To use HTTP with a child script, use the -Http option of the Script action.

Syntax
The syntax of the httpd resource is:
 * [address]:port


 * address
 * An optional numeric address to listen on. The default is . If an IPv6 address is used, it must be surrounded by square brackets, e.g.,.


 * port
 * The TCP port to listen on.

Examples
Listen on 127.0.0.1, port 8080. :8080 Listen on 1.2.3.4, port 8050. 1.2.3.4:8050 Listen on ::1, port 8040. [::1]:8040