class HTTPX::Plugins::Authentication::Socks5
def authenticate(*)
def authenticate(*) [0x01, @user.bytesize, @user, @password.bytesize, @password].pack("CCA*CA*") end
def can_authenticate?(*)
def can_authenticate?(*) @user && @password end
def initialize(user, password, **)
def initialize(user, password, **) @user = user @password = password end