class

STOMP::IOClient

Inherits STOMP::Client < Reference < Object

Constructors

new(host, socket : IO, send_acknowledgements : Bool = true)
Source

Instance methods

close(receipt = "disconnect", headers : HTTP::Headers = HTTP::Headers.new, unceremoniously = false) : Nil
Source
closed?
Source
on_close

Called when the connection is closed. True when closed gracefully

Source
on_connected

Called when the client receives a message from a server.

Source
on_error
Source
on_message

Called when the client receives a message from a server.

Source
on_receipt
Source
run(*args, **named) : Nil

Continuously receives messages and calls previously set callbacks until the socket is closed.

Source
send(message : Frame) : Nil
Source
send_heart_beat
Source