Method: NATS#auth_connection?
- Defined in:
- lib/nats/client.rb
#auth_connection? ⇒ Boolean
784 785 786 |
# File 'lib/nats/client.rb', line 784 def auth_connection? !@uri.user.nil? || @options[:token] || @server_info[:auth_required] end |