3.2 library(http/http_dispatch): Dispatch requests in the HTTP server
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog HTTP support
The HTTP server libraries
library(http/http_dispatch): Dispatch requests in the HTTP server
http_handler/3
http_delete_handler/1
http_dispatch/1
http_request_expansion/2
http_current_handler/2
http_current_handler/3
http_location_by_id/2
http_link_to_id/3
http_reload_with_parameters/3
http_reply_file/3
http_safe_file/2
http_redirect/3
http_404/2
http_switch_protocol/2
Availability:
:- use_module(
library(http/http_dispatch)
).
[semidet]
http_current_handler
(
+Location, :Closure, -Options
)
[nondet]
http_current_handler
(
?Location, :Closure, ?Options
)
Resolve the current handler and options to execute it.