3.14.3 library(http/http_unix_daemon): Run SWI-Prolog HTTP server as a Unix system daemon
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP server libraries
          • Running the server
            • library(http/http_unix_daemon): Run SWI-Prolog HTTP server as a Unix system daemon
              • http_daemon/0
              • http_daemon/1
              • http_certificate_hook/3
              • http_server_hook/1
              • sni_options/2
Availability::- use_module(library(http/http_unix_daemon)).
Sourcehttp_daemon(+Options)
Start the HTTP server as a daemon process. This predicate processes a Prolog option list. It is normally called from http_daemon/0, which derives the option list from the command line arguments.

Error handling depends on whether or not interactive(true) is in effect. If so, the error is printed before entering the toplevel. In non-interactive mode this predicate calls halt(1).