Sha256: ab8b52af2ae4466dd6c276f88e12462120ca917804714acc5a50ceb251f48e79
Contents?: true
Size: 574 Bytes
Versions: 4
Compression:
Stored size: 574 Bytes
Contents
# Channel How to use gem for channels For each example initialize a gem with command : `t = RubyRabbitmqJanus::RRJ.new` ## List channels ```ruby # Create a session create = t.ask('create') session = t.response(create) # Attach a session to plugin attach = t.ask('attach', session) session = t.response(attach) # List a channels list = t.ask('channel::list', session) session = t.response(list) # Detach a session detach = t.ask('detach', session) session = t.response(detach) # Destroy a session destroy = t.ask('destroy', session) session = t.response(destroy) ```
Version data entries
4 entries across 4 versions & 1 rubygems