Inherits ProxyType.
A HTTP transparent proxy server.
Public Fields | |
| string | username_ |
| Username for logging in; may be empty. | |
| string | password_ |
| Password for logging in; may be empty. | |
| bool | http_only_ |
| Pass true if the proxy supports only HTTP requests and doesn't support transparent TCP connections via HTTP CONNECT method. | |
Public Instance Methods | |
| proxyTypeHttp () | |
| proxyTypeHttp (string const &username_, string const &password_, bool http_only_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -1547188361 |
| Identifier uniquely determining a type of the object. | |
| proxyTypeHttp | ( | ) |
A HTTP transparent proxy server.
| proxyTypeHttp | ( | string const & | username_, |
| string const & | password_, | ||
| bool | http_only_ | ||
| ) |
A HTTP transparent proxy server.
| [in] | username_ | Username for logging in; may be empty. |
| [in] | password_ | Password for logging in; may be empty. |
| [in] | http_only_ | Pass true if the proxy supports only HTTP requests and doesn't support transparent TCP connections via HTTP CONNECT method. |
|
finalvirtual |