class

Stomp::Client

Inherits HTTP::WebSocket < Reference < Object

Todo make it works with socket and not just websockets Todo support transaction ? Todo support receipt ?

Instance methods

client_in_heartbeat
Source
client_out_heartbeat
Source
connect(accept_version = "1.2", virtual_host = nil, use_connect_frame = true, username = nil, password = nil, in_heartbeat client_in_heartbeat : Int32 = 10000, out_heartbeat client_out_heartbeat : Int32 = 5000, &on_connected)
Source
connect(accept_version = "1.2", virtual_host = nil, use_connect_frame = true, username = nil, password = nil, in_heartbeat client_in_heartbeat : Int32 = 10000, out_heartbeat client_out_heartbeat : Int32 = 5000)
Source
heartbeat_tolerance
Source
heartbeat_tolerance=(heartbeat_tolerance : Float64)
Source
in_heartbeat
Source
on_connected
Source
on_error
Source
out_heartbeat
Source
send(destination, body, headers = {} of String => String)
Source
server_version
Source
subscribe(destination, ack = Ack::AUTO, headers = {} of String => String, &handler : Frame -> )
Source
unsubscribe(sub)
Source

Nested types