class STOMP::Client
- STOMP::Client
- Reference
- Object
Direct Known Subclasses
Defined in:
stomp/client.crConstructors
Instance Method Summary
- #abort(transaction, headers : HTTP::Headers = HTTP::Headers.new)
- #ack(id, headers : HTTP::Headers = HTTP::Headers.new, transaction = nil)
- #begin(transaction, headers : HTTP::Headers = HTTP::Headers.new)
- #commit(transaction, headers : HTTP::Headers = HTTP::Headers.new)
- #connect
- #connected? : Bool
- #disconnect(receipt, headers : HTTP::Headers = HTTP::Headers.new)
-
#heart_beat
Client => Server beat time, Server => Client beat time
- #heart_beat_client : Tuple(Int32, Int32) | Nil
- #heart_beat_server : Tuple(Int32, Int32) | Nil
- #host : String
- #nack(id, headers : HTTP::Headers = HTTP::Headers.new, transaction = nil)
- #negotiate(stream)
- #next_frame(stream) : Frame
- #send(destination : String, headers : HTTP::Headers = HTTP::Headers.new, body : String = "", send_content_length : Bool = true)
- #server : String | Nil
- #session : String | Nil
- #stomp(username : String | Nil = nil, password : String | Nil = nil, heart_beat : Tuple(Int32, Int32) | Nil = nil)
- #subscribe(id, destination : String, headers : HTTP::Headers = HTTP::Headers.new, ack : AckMode = AckMode::Auto)
- #unsubscribe(id, headers : HTTP::Headers = HTTP::Headers.new)
- #version : Version
Constructor Detail
Instance Method Detail
def send(destination : String, headers : HTTP::Headers = HTTP::Headers.new, body : String = "", send_content_length : Bool = true)
#
def stomp(username : String | Nil = nil, password : String | Nil = nil, heart_beat : Tuple(Int32, Int32) | Nil = nil)
#