#include <HTML2PDF.h>
Proxy settings to be used when loading content from web pages.
- Note
- These Proxy settings will only be used if type is not e_default.
Definition at line 405 of file HTML2PDF.h.
Set the type of proxy to use.
- Parameters
-
type | - If e_default, use whatever the html2pdf library decides on. If e_none, explicitly sets that no proxy is to be used. If e_http or e_socks5 then the corresponding proxy protocol is used. |
Enumerator |
---|
e_default |
|
e_none |
|
e_http |
|
e_socks5 |
|
Definition at line 425 of file HTML2PDF.h.
pdftron::PDF::Proxy::Proxy |
( |
| ) |
|
pdftron::PDF::Proxy::~Proxy |
( |
| ) |
|
void pdftron::PDF::Proxy::Destroy |
( |
| ) |
|
Frees the native memory of the object.
void pdftron::PDF::Proxy::SetHost |
( |
const UString & |
host | ) |
|
Set the proxy host to use.
- Parameters
-
host | - String defining the host name, e.g. "myserver" or "www.xxx.yyy.zzz" |
void pdftron::PDF::Proxy::SetPassword |
( |
const UString & |
password | ) |
|
Set the password to use when logging into the proxy with username
- Parameters
-
password | - The password to use, e.g. "bart". |
void pdftron::PDF::Proxy::SetPort |
( |
int |
port | ) |
|
Set the port number to use
- Parameters
-
port | - A valid port number, e.g. 3128. |
void pdftron::PDF::Proxy::SetType |
( |
Type |
type | ) |
|
void pdftron::PDF::Proxy::SetUsername |
( |
const UString & |
username | ) |
|
Set the username to use when logging into the proxy
- Parameters
-
username | - The login name, e.g. "elbarto". |
The documentation for this class was generated from the following file: