3.16 library(http/http_host): Obtain public server location
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP server libraries
          • library(http/http_host): Obtain public server location
            • http_public_url/2
            • http_public_host_url/2
            • http_public_host/4
            • http_current_host/4
Availability::- use_module(library(http/http_host)).
Source[det]http_current_host(?Request, -Hostname, -Port, +Options)
deprecated
Use http_public_host/4 (same semantics)