class Stomp::Client
- Stomp::Client
- HTTP::WebSocket
- Reference
- Object
Overview
Todo make it works with socket and not just websockets Todo support transaction ? Todo support receipt ?
Defined in:
client.crInstance Method Summary
- #client_in_heartbeat : Int32
- #client_out_heartbeat : Int32
- #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)
- #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)
- #heartbeat_tolerance : Float64
- #heartbeat_tolerance=(heartbeat_tolerance : Float64)
- #in_heartbeat : Int32
- #on_connected(&on_connected : Frame -> )
- #on_error(&on_error : Frame -> )
- #out_heartbeat : Int32
- #send(destination, body, headers = {} of String => String)
- #server_version : String | Nil
- #subscribe(destination, ack = Ack::AUTO, headers = {} of String => String, &handler : Frame -> )
- #unsubscribe(sub)
Instance Method Detail
def 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)
#
def 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)
#