Inherits Object.
Contains information about a proxy server.
Public Fields | |
int32 | id_ |
Unique identifier of the proxy. | |
string | server_ |
Proxy server domain or IP address. | |
int32 | port_ |
Proxy server port. | |
int32 | last_used_date_ |
Point in time (Unix timestamp) when the proxy was last used; 0 if never. | |
bool | is_enabled_ |
True, if the proxy is enabled now. | |
object_ptr< ProxyType > | type_ |
Type of the proxy. | |
Public Instance Methods | |
proxy () | |
proxy (int32 id_, string const &server_, int32 port_, int32 last_used_date_, bool is_enabled_, object_ptr< ProxyType > &&type_) | |
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 = 196049779 |
Identifier uniquely determining a type of the object. | |
proxy | ( | ) |
Contains information about a proxy server.
proxy | ( | int32 | id_, |
string const & | server_, | ||
int32 | port_, | ||
int32 | last_used_date_, | ||
bool | is_enabled_, | ||
object_ptr< ProxyType > && | type_ | ||
) |
Contains information about a proxy server.
[in] | id_ | Unique identifier of the proxy. |
[in] | server_ | Proxy server domain or IP address. |
[in] | port_ | Proxy server port. |
[in] | last_used_date_ | Point in time (Unix timestamp) when the proxy was last used; 0 if never. |
[in] | is_enabled_ | True, if the proxy is enabled now. |
[in] | type_ | Type of the proxy. |
|
finalvirtual |