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
Sourceclient_out_heartbeat
Sourceconnect(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)
Sourceconnect(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)
Sourceheartbeat_tolerance
Sourceheartbeat_tolerance=(heartbeat_tolerance : Float64)
Sourcein_heartbeat
Sourceon_connected
Sourceon_error
Sourceout_heartbeat
Sourcesend(destination, body, headers = {} of String => String)
Sourceserver_version
Sourcesubscribe(destination, ack = Ack::AUTO, headers = {} of String => String, &handler : Frame -> )
Sourceunsubscribe(sub)
Source