Did you know ...
Search Documentation:
Predicate status_page_hook/3
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
status_page_hook
(+Term, -Reply, +Options)
is
det
[private]
Calls the following two hooks to generate an HTML page from a status reply.
http
:
status_reply
(+Term, -Reply, +Options)
Provide non-HTML description of the (non-200) reply. The term
Reply
is handed to
serialize_body/2
, calling the hook
http
:serialize_reply/2
.
http
:
status_page
(+Term, +Context, -HTML)
http
:
status_page
(+Code, +Context, -HTML)
Arguments:
Term
- is the status term, e.g.,
not_found(URL)
See also
-
http
:status_page/3