Method: Net::HTTPHeader#proxy_basic_auth

Defined in:
lib/net/http/header.rb

#proxy_basic_auth(account, password) ⇒ Object

Set Proxy-Authorization: header for “Basic” authorization.



424
425
426
# File 'lib/net/http/header.rb', line 424

def proxy_basic_auth(, password)
  @header['proxy-authorization'] = [basic_encode(, password)]
end