Method: HTTPX::Plugins::Authentication::Socks5#can_authenticate?

Defined in:
lib/httpx/plugins/auth/socks5.rb

#can_authenticate?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/httpx/plugins/auth/socks5.rb', line 12

def can_authenticate?(*)
  @user && @password
end