Did you know ... Search Documentation:
Predicate start_server/1
 start_server(+Server) is det[private]
Start the HTTP server. It performs the following steps:
  1. Call broadcast(http(pre_server_start))
  2. Call http_server(http_dispatch, Options)
  3. Call broadcast(http(post_server_start))

This predicate can be hooked using http_server_hook/1. This predicate is executed after

  • Forking
  • Setting I/O (e.g., to talk to the syslog daemon)
  • Dropping root privileges (--user)
  • Setting up signal handling