Method: RProxy::HttpProxyParser#parse
- Defined in:
- lib/r_proxy/http_proxy_parser.rb
#parse(data, need_auth) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/r_proxy/http_proxy_parser.rb', line 13 def parse(data, need_auth) parse_connect_request(data) remain = 0 remain = auth_user if need_auth [@schema.host, @schema.port, remain] end |