- stomp
- stomp.pl -- STOMP client.
- stomp_connection/5
- stomp_connection/6
- stomp_connection_property/2
- stomp_destroy_connection/1
- stomp_setup/2
- stomp_teardown/1
- stomp_reconnect/1
- stomp_connect/1
- stomp_connect/2
- stomp_send/4
- stomp_send_json/4
- stomp_subscribe/4
- stomp_unsubscribe/2
- stomp_ack/3
- stomp_nack/3
- stomp_ack/2
- stomp_nack/2
- stomp_begin/2
- stomp_commit/2
- stomp_abort/2
- stomp_transaction/2
- stomp_disconnect/2
- stomp.pl -- STOMP client.
- stomp_connect(+Connection) is det
- stomp_connect(+Connection, +Options) is det
- Setup the connection. First ensures a socket connection and if this
is new send a
CONNECT
frame. Protocol version and heartbeat negotiation will be handled.STOMP
frame is not used for backward compatibility.This predicate waits for the connection handshake to have completed. Currently it waits for a maximum of 10 seconds after establishing the socket for the server reply.
Calling this on an established connection has no effect.
- Errors
- -
stomp_error(connect, Connection, Detail)
if no connection could be established. - See also
- - http://stomp.github.io/stomp-specification-1.2.html#CONNECT_or_STOMP_Frame).