Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
CPACK
Home
List packs
Submit pack
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
3.16 library(http/http_host): Obtain public server location
All
Application
Manual
Name
Summary
Help
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)
).
[det]
http_public_url
(
+Request, -URL
)
True when
URL
is an absolute
URL
for the current request. Typically, the login page should redirect to this
URL
to avoid losing the session.
ClioPatria
(version
V3.1.1-51-ga0b30a5
)