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
[multi,multifile]http:sni_options(-HostName, -SSLOptions)
Hook to provide Server Name Indication (SNI) for TLS servers. When starting an HTTPS server, all solutions of this predicate are collected and a suitable sni_hook/1 is defined for ssl_context/3 to use different contexts depending on the host name of the client request. This hook is executed before privileges are dropped.