NATS::Client
Inherits Reference < Object
Constructors
new
SourceInstance methods
close_connection
Sourceconnect(opts : Hash) : Void
Sourceconnected?
Sourceconnecting?
Sourcedisconnected?
Sourcedisconnecting?
Sourceprocess_error(message : String) : Void
Sourceprocess_info(info : String) : Void
Sourceprocess_msg(group : String, subscription_id : UInt64, reply : String, message : Bytes) : Void
Sourceprocess_ping
Sourceprocess_pong
Sourcepublish(channel : String, message : String = EMPTY_MESSAGE, reply : String | Nil = nil) : Void
Sourcereconnecting?
Sourceserver_info
Sourcestatus
Sourcesubscribe(channel : String, id : UInt64 | Nil = nil, options : Subscription::OptionsHash = Subscription::OptionsHash.new, &callback : Subscription::CallbackProc) : UInt64
Sourceunsubscribe(id : UInt64) : Void
Source