protocol
http_handler_protocol
Protocol for portable HTTP request handlers.
Availability:
logtalk_load(http_core(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-06-26
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
handle/2
Handles a normalized HTTP request term and returns a normalized HTTP response term.
Compilation flags:
staticTemplate:
handle(Request,Response)Mode and number of proofs:
handle(+compound,-compound) - one_or_errorExceptions:
Request is not a valid normalized HTTP request term:domain_error(http_request,Request)Response is not a valid normalized HTTP response term:domain_error(http_response,Response)Protected predicates
(none)
Private predicates
(none)
Operators
(none)