Did you know ...
Search Documentation:
Predicate json_dict_pairs/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
IRC
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 -- Handling HTTP headers
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_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
atom_json_term/3
json_read/2
json_read/3
json_write/2
json_write/3
json_write_hook/4
json_dict_pairs/2
is_json_term/1
is_json_term/2
json_read_dict/2
json_read_dict/3
json_write_dict/2
json_write_dict/3
atom_json_dict/3
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
json_dict_pairs
(+Dict, -Pairs)
is
semidet
[multifile,
library(http/json)
]
This hook may be used to order the keys of an object. If it fails,
dict_pairs/3
is used which produces an ordered list of keys.