Did you know ...
Search Documentation:
Predicate message_level/2
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
http
http
http_log.pl
http_header.pl
http_session.pl -- HTTP Session management
http_wrapper.pl -- Server processing of an HTTP request
http_stream.pl -- HTTP Streams
http_exception.pl -- Map Prolog exceptions to HTTP errors
http_unix_daemon.pl -- Run SWI-Prolog HTTP server as a Unix system daemon
thread_httpd.pl -- Threaded HTTP server
http_server/2
http_current_server/2
http_server_property/2
http_workers/2
http_add_worker/2
http_current_worker/2
http_stop_server/2
http_enough_workers/3
message_level/2
http_requeue/1
http_close_connection/1
http_spawn/2
schedule_workers/1
http_path.pl -- Abstract specification of HTTP server locations
http_dispatch.pl -- Dispatch requests in the HTTP server
http_host.pl -- Obtain public server location
http_dyn_workers.pl -- Dynamically schedule HTTP workers.
http_parameters.pl -- Extract parameters (GET and POST) from HTTP requests
http_client.pl -- HTTP client library
http_multipart_plugin.pl -- Multipart form-data plugin
http_hook.pl -- HTTP library hooks
html_write.pl -- Write HTML text
html_quasiquotations.pl -- HTML quasi quotations
mimetype.pl -- Determine mime-type for a file
html_head.pl -- Automatic inclusion of CSS and scripts links
http_server_files.pl -- Serve files needed by modules from the server
term_html.pl -- Represent Prolog terms as HTML
json.pl -- Reading and writing JSON serialization
http_open.pl -- HTTP client library
http_error.pl -- Decorate uncaught HTTP exceptions with stack-trace
http_dirindex.pl -- HTTP directory listings
http_files.pl -- Serve plain files from a hierarchy
http_cors.pl -- Enable CORS: Cross-Origin Resource Sharing
http_json.pl -- HTTP JSON Plugin module
js_write.pl -- Utilities for including JavaScript
js_grammar.pl -- JavaScript grammar
http_openid.pl -- OpenID consumer and server library
yadis.pl -- Yadis discovery
ax.pl -- Attribute Exchange library
http_authenticate.pl -- Authenticate HTTP connections using 401 headers
http_server_health.pl -- HTTP Server health statistics
graphql.pl -- GraphQL interface
htmx.pl -- Support htmx.org
http_cookie.pl -- HTTP client cookie handling
http_digest.pl -- HTTP Digest authentication
http_load.pl -- Load Prolog code from a web server
http_proxy.pl -- Use HTTP network proxies
http_pwp.pl -- Serve PWP pages through the HTTP server
http_redis_plugin.pl -- Hook session management to use Redis
http_server.pl -- HTTP server library
http_sgml_plugin.pl -- Parse of HTML and XML documents for the HTTP client libs
hub.pl -- Manage a hub for websockets
websocket.pl -- WebSocket support
json_convert.pl -- Convert between JSON terms and Prolog application terms
mimepack.pl -- Create a MIME message
thread_httpd
:
message_level
(+Exception, -Level)
[multifile,
library(http/thread_httpd)
]
Determine the message stream used for exceptions that may occur during
server_loop/5
. Being multifile, clauses can be added by the application to refine error handling. See also
message_hook/3
for further programming error handling.