SWI-Prolog HTTP support
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • Introduction
        • The HTTP client libraries
        • The HTTP server libraries
        • Transfer encodings
        • library(http/websocket): WebSocket support
        • library(http/hub): Manage a hub for websockets
        • Supporting JSON
        • MIME support
        • Security
        • Tips and tricks
        • Status

11 Status

The SWI-Prolog HTTP library is in active use in a large number of projects. It is considered one of the SWI-Prolog core libraries that is actively maintained and regularly extended with new features. This is particularly true for the multi-threaded server. The inetd based server may be applicable for infrequent requests where the startup time is less relevant. The XPCE based server is considered obsolete.

This library is by no means complete and you are free to extend it.

Index

?
absolute_file_name/[2,3]
9
atom_json_dict/3
atom_json_term/3
chunked,encoding
4
cleanup/2
2
cors_enable/0
cors_enable/2
current_hub/2
current_json_object/3
deflate,encoding
4
directory_index//2
format/2
3.20 3.20.6 3.20.6
format/3
3.20 3.20 3.20
format_time/3
3.14.2
goal_expansion/2
3.20.6
hook/1
hooked/0
html//1
html_begin//1
html_begin/1
3.20
html_current_resource/1
html_end//1
html_insert_resource//1
html_post//2
html_print/[1,2]
3.20.1
html_print_length/2
html_quoted//1
html_quoted_attribute//1
html_receive//1
html_receive//2
html_requires//1
html_resource/2
html_write:expand//1
html_write:layout/3
3.20.4
http:///1
http:authenticate/3
http:authenticate_client/2
http:convert_parameter/3
3.12
http:disable_encoding_filter/1
http:location/3
http:mime_type_encoding/2
3.1
http:mime_type_icon/2
http:open_options/2
http:post_data_hook/3
http:request_expansion/2
3.15
http:schedule_workers/1
http:serialize_reply/2
http:sni_options/2
http:status_page/3
http:status_page_hook/3
3.10
http:update_cookies/3
http:write_cookies/3
http_404/2
http_absolute_location/3
http_absolute_uri/2
http_add_worker/2
http_authenticate/3
http_authorization_data/2
http_certificate_hook/3
http_chunked_open/3
http_clean_location_cache/0
http_client:http_convert_data/4
http_close_keep_alive/1
http_close_session/1
http_convert_data/4
http_current_handler/2
http_current_handler/3
http_current_host/4
http_current_request/1
3.15
http_current_session/2
http_current_user/3
http_current_worker/2
http_daemon/0
http_daemon/1
http_delete/3
http_delete_handler/1
http_digest_challenge//2
http_digest_password_hash/4
http_digest_response/5
http_disconnect/1
http_dispatch/1
3.14.2
http_get/3
2
http_handler/3
1 3.1 3.14.2 3.20
http_in_session/1
http_join_headers/3
http_link_to_id/3
http_location_by_id/2
3.20
http_log/2
http_log_close/1
http_log_stream/1
http_logrotate/1
http_open/3
2 2 4 4
http_open_session/2
http_open_websocket/3
http_parameters/2
3.12
http_parameters/3
3.12
http_parse_digest_challenge/2
http_parse_header/2
http_parse_header_value/3
http_patch/4
http_post/4
2
http_post_data/3
http_public_host/4
http_public_host_url/2
http_public_url/2
http_put/4
http_read_data/3
3.13.1
http_read_header/2
http_read_json/2
http_read_json/3
http_read_json_dict/2
http_read_json_dict/3
http_read_passwd_file/2
http_read_reply_header/2
http_read_request/2
3.13 3.13
http_redirect/3
3.1
http_relative_path/2
http_reload_with_parameters/3
http_reply/2
http_reply/3
3.1.1 3.1.1 3.1.1
http_reply/4
http_reply/5
http_reply/6
http_reply_dirindex/3
http_reply_file/3
http_reply_from_files/3
http_reply_header/3
http_request_expansion/2
http_safe_file/2
http_schedule_logrotate/2
http_server/1
3.14.4
http_server/2
http_server_hook/1
http_server_property/2
http_session_assert/1
http_session_assert/2
http_session_asserta/1
http_session_asserta/2
http_session_cookie/1
http_session_data/1
http_session_data/2
http_session_id/1
http_session_option/1
http_session_retract/1
http_session_retract/2
http_session_retractall/1
http_session_retractall/2
http_set_authorization/2
http_set_session/1
http_set_session/2
http_set_session_options/1
http_spawn/2
3 3.14.2
http_status_reply/4
http_status_reply/5
http_status_reply/6
http_stop_server/2
http_switch_protocol/2
http_timestamp/2
http_update_connection/4
http_update_encoding/3
http_update_transfer/4
http_upgrade_to_websocket/3
http_workers/2
3.14.2
http_wrapper/5
3.12 3.14.4 3.15 3.15 3.15
http_write_passwd_file/2
hub_add/3
hub_broadcast/2
hub_broadcast/3
hub_create/3
hub_member/2
hub_send/2
iostream:open_hook/6
is_json_content_type/1
is_json_term/1
is_json_term/2
javascript/4
js_arg//1
js_arg_list//1
js_call//1
js_expression//1
js_new//2
js_script//1
json_dict_pairs/2
json_object/1
json_read/2
json_read/3
json_read_dict/2
json_read_dict/3
json_to_prolog/2
json_type/1
json_write/2
json_write/3
json_write_dict/2
json_write_dict/3
json_write_hook/4
map_method/2
mime_include//2
mime_pack/3
mime_type_encoding/2
3.1
nolog/1
nolog_post_content_type/1
openid_associate/3
openid_associate/4
openid_authenticate/4
openid_current_host/3
openid_current_url/2
openid_grant/1
openid_hook/1
openid_logged_in/1
openid_login/1
openid_login_form//2
openid_logout/1
openid_server/2
openid_server/3
openid_user/3
openid_verify/2
page//1
page//2
page/[1,2]
3.20
password_field/1
post_data_encoded/2
pp/1
3.13.1
predicate/5
3.20.5
print_html/1
print_html/2
print_html/[1,2]
3.20 3.20 3.20.4
process_create/3
9
prolog_bool_to_json/2
prolog_to_json/2
pwp_handler/2
reply_html_page/2
reply_html_page/3
3.20.1 3.20.1
reply_json/1
reply_json/2
reply_json_dict/1
reply_json_dict/2
reply_pwp_page/3
session_setting/2
set_lang/1
3.20 3.20
set_stream/2
3.1
setup_call_cleanup/3
2
shell/1
9 9
ssl_context/3
3.14.2
ssl_verify/5
tcp_accept/3
3.15
tcp_bind/2
3.14.2
thread_create/3
3.14.2
thread_create_in_pool/4
3.14.2
thread_pool_create/3
3.14.2
throw/1
3.1.1
tspy/1
3.14 10
uri_encoded/3
3.20
ws_close/3
ws_mask/1
ws_open/3
ws_property/2
ws_receive/2
ws_receive/3
ws_send/2
xhtml_ns//2