:- module(http_server,
[ http_server/1, % +Options
% from thread_httpd
http_current_server/2, % ?:Goal, ?Port
http_server_property/2, % ?Port, ?Property
http_server/2, % :Goal, +Options
http_workers/2, % +Port, ?WorkerCount
http_add_worker/2, % +Port, +Options
http_current_worker/2, % ?Port, ?ThreadID
http_stop_server/2, % +Port, +Options
http_spawn/2, % :Goal, +Options
% from http_dispatch
http_dispatch/1, % +Request
http_handler/3, % +Path, +Predicate, +Options
http_delete_handler/1, % +Path
http_request_expansion/2, % :Goal, +Rank
http_reply_file/3, % +File, +Options, +Request
http_redirect/3, % +How, +Path, +Request
http_404/2, % +Options, +Request
http_switch_protocol/2, % :Goal, +Options
http_current_handler/2, % ?Path, ?Pred
http_current_handler/3, % ?Path, ?Pred, -Options
http_location_by_id/2, % +ID, -Location
http_link_to_id/3, % +ID, +Parameters, -HREF
http_reload_with_parameters/3, % +Request, +Parameters, -HRE
% from http_wrapper
http_current_request/1, % -Request
http_peer/2,
% from http_parameters
http_parameters/2, % +Request, -Params
http_parameters/3,
% from html_write
reply_html_page/2, % :Head, :Body
html//1, % :Content
% Extension support
(html_meta)/1, % +Spec
op(1150, fx, html_meta),
% from http_json
reply_json_dict/1, % +JSON
reply_json_dict/2, % +JSON, Options
http_read_json_dict/2, % +Request, -Dict
http_read_json_dict/3, % +Request, -Dict, +Options
is_json_content_type/1
]).
|
:- module(
http_server,
[
http_server/1, % +Options
% from thread_httpd
http_current_server/2, % ?:Goal, ?Port
http_server_property/2, % ?Port, ?Property
http_server/2, % :Goal, +Options
http_workers/2, % +Port, ?WorkerCount
http_add_worker/2, % +Port, +Options
http_current_worker/2, % ?Port, ?ThreadID
http_stop_server/2, % +Port, +Options
http_spawn/2, % :Goal, +Options
% from http_dispatch
http_dispatch/1, % +Request
http_handler/3, % +Path, +Predicate, +Options
http_delete_handler/1, % +Path
http_request_expansion/2, % :Goal, +Rank
http_reply_file/3, % +File, +Options, +Request
http_redirect/3, % +How, +Path, +Request
http_404/2, % +Options, +Request
http_switch_protocol/2, % :Goal, +Options
http_current_handler/2, % ?Path, ?Pred
http_current_handler/3, % ?Path, ?Pred, -Options
http_location_by_id/2, % +ID, -Location
http_link_to_id/3, % +ID, +Parameters, -HREF
http_reload_with_parameters/3, % +Request, +Parameters, -HRE
% from http_wrapper
http_current_request/1, % -Request
http_peer/2,
% from http_parameters
http_parameters/2, % +Request, -Params
http_parameters/3,
% from html_write
reply_html_page/2, % :Head, :Body
html//1, % :Content
% Extension support
(html_meta)/1, % +Spec
op(1150, fx, html_meta),
% from http_json
reply_json_dict/1, % +JSON
reply_json_dict/2, % +JSON, Options
http_read_json_dict/2, % +Request, -Dict
http_read_json_dict/3, % +Request, -Dict, +Options
is_json_content_type/1
]
).
|
:- module(http_server,
[ http_server/1, % +Options
% from thread_httpd
http_current_server/2, % ?:Goal, ?Port
http_server_property/2, % ?Port, ?Property
http_server/2, % :Goal, +Options
http_workers/2, % +Port, ?WorkerCount
http_add_worker/2, % +Port, +Options
http_current_worker/2, % ?Port, ?ThreadID
http_stop_server/2, % +Port, +Options
http_spawn/2, % :Goal, +Options
% from http_dispatch
http_dispatch/1, % +Request
http_handler/3, % +Path, +Predicate, +Options
http_delete_handler/1, % +Path
http_request_expansion/2, % :Goal, +Rank
http_reply_file/3, % +File, +Options, +Request
http_redirect/3, % +How, +Path, +Request
http_404/2, % +Options, +Request
http_switch_protocol/2, % :Goal, +Options
http_current_handler/2, % ?Path, ?Pred
http_current_handler/3, % ?Path, ?Pred, -Options
http_location_by_id/2, % +ID, -Location
http_link_to_id/3, % +ID, +Parameters, -HREF
http_reload_with_parameters/3, % +Request, +Parameters, -HRE
% from http_wrapper
http_current_request/1, % -Request
http_peer/2,
% from http_parameters
http_parameters/2, % +Request, -Params
http_parameters/3,
% from html_write
reply_html_page/2, % :Head, :Body
html//1, % :Content
% Extension support
(html_meta)/1, % +Spec
op(1150, fx, html_meta),
% from http_json
reply_json_dict/1, % +JSON
reply_json_dict/2, % +JSON, Options
http_read_json_dict/2, % +Request, -Dict
http_read_json_dict/3, % +Request, -Dict, +Options
is_json_content_type/1
]).
|