|Did you know ...||Search Documentation:|
:- use_module(library(stomp)).(can be autoloaded)
call(Callback, Command, Connection, Header, Body)
Where command is one of the commands below. Header is a
dict holding the STOMP frame header, where all values are strings except
'content-length' key value which is passed as an
Body is a string or, if the data is of the type
application/json, a dict.
content-typeof the message is
application/jsonand a string otherwise.
Note that stomp_teardown/1 causes the receiving and heartbeat thread to be signalled with abort/0.
application/jsoncontent to Prolog. Default is
|Address||is a valid address for tcp_connect/3.
Normally a term
Host:Port, e.g., |
|Host||is a path denoting the STOMP host.
Often just |
|Headers||is a dict with STOMP headers used
for the |
|Connection||is an opaque ground term that identifies the connection.|