#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 414 of file HTML2PDF.h.
◆ Type
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 434 of file HTML2PDF.h.
◆ Proxy()
| pdftron::PDF::Proxy::Proxy |
( |
| ) |
|
◆ ~Proxy()
| pdftron::PDF::Proxy::~Proxy |
( |
| ) |
|
◆ Destroy()
| void pdftron::PDF::Proxy::Destroy |
( |
| ) |
|
Frees the native memory of the object.
◆ SetHost()
| 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" |
◆ SetPassword()
| 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". |
◆ SetPort()
| void pdftron::PDF::Proxy::SetPort |
( |
int | port | ) |
|
Set the port number to use
- Parameters
-
| port | - A valid port number, e.g. 3128. |
◆ SetType()
| void pdftron::PDF::Proxy::SetType |
( |
Type | type | ) |
|
◆ SetUsername()
| 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: