protocol
http_response_protocolï
Protocol for Logtalk objects exposing normalized HTTP response data.
Availability:
logtalk_load(http_core(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-23
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicatesï
version/1ï
Returns the normalized HTTP version term http(Major, Minor).
Compilation flags:
staticTemplate:
version(Version)Mode and number of proofs:
version(-compound) - onestatus/1ï
Returns the normalized HTTP status term status(Code, ReasonPhrase).
Compilation flags:
staticTemplate:
status(Status)Mode and number of proofs:
status(-compound) - oneheaders/1ï
Returns the response header list as normalized Name-Value pairs.
Compilation flags:
staticTemplate:
headers(Headers)Mode and number of proofs:
headers(-list(compound)) - oneheader/2ï
Enumerates normalized response headers as Name and Value pairs.
Compilation flags:
staticTemplate:
header(Name,Value)Mode and number of proofs:
header(?atom,?term) - zero_or_morebody/1ï
Returns the normalized response body term.
Compilation flags:
staticTemplate:
body(Body)Mode and number of proofs:
body(-compound) - oneproperty/1ï
Enumerates derived or higher-layer normalized response properties.
Compilation flags:
staticTemplate:
property(Property)Mode and number of proofs:
property(?compound) - zero_or_moreProtected predicatesï
(none)
Private predicatesï
(none)
Operatorsï
(none)