Class

HTTP

Extends:

An implementation of a socket factory that returns a socket which will tunnel the connection through an HTTP proxy. It allows explicit specification of the user and password, but if none are given it will look in the HTTP_PROXY_USER/HTTP_PROXY_PASSWORD and CONNECT_USER/CONNECT_PASSWORD environment variables as well.

Public Methods
new Create a new socket factory that tunnels via the given host and port.
open Return a new socket connected to the given host and port via the proxy that was requested when the socket factory was instantiated.
Private Methods
parse_response
proxy_password
proxy_user
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.