Did you know ... Search Documentation:
inetd_httpd.pl -- Run Prolog HTTP server from Unix inetd
PublicShow source

This module implements handling a single request (or multiple as long as Keep-Alive is respected), talking to stardard input and output.

- This type of handling of HTTP requests should be considered outdated. See library(http/thread_httpd).
Source http_server(:Goal, +Options)
Start the server from inetd. This is really easy as user_input is connected to the HTTP input and user_output is the place to write our reply to.