Method: NATS.request

Defined in:
lib/nats/client.rb

.request(*args, &blk) ⇒ Object

Publish a message and wait for a response on the default client connection.

See Also:



364
365
366
# File 'lib/nats/client.rb', line 364

def request(*args, &blk)
  (@client ||= connect).request(*args, &blk)
end