new HTML2PDF_Proxy()
Proxy settings to be used when loading content from web pages.
Methods
-
destroy()
-
Frees the native memory of the object.
-
setHost(host)
-
Set the proxy host to use.
Parameters:
Name Type Description host
string String defining the host name, e.g. "myserver" or "www.xxx.yyy.zzz"
-
setPassword(password)
-
Set the password to use when logging into the proxy with username
Parameters:
Name Type Description password
string The password to use, e.g. "bart".
-
setPort(port)
-
Set the port number to use
Parameters:
Name Type Description port
number A valid port number, e.g. 3128.
-
setUsername(username)
-
Set the username to use when logging into the proxy
Parameters:
Name Type Description username
string The login name, e.g. "elbarto".