Inherits Function.
Sets the proxy server for network requests. Can be called before authorization.
Returns object_ptr<Ok>.
Public Fields | |
object_ptr< Proxy > | proxy_ |
Proxy server to use. Specify null to remove the proxy server. | |
Public Types | |
using | ReturnType = object_ptr< ok > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
setProxy () | |
setProxy (object_ptr< Proxy > &&proxy_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 = -656782179 |
Identifier uniquely determining a type of the object. | |
setProxy | ( | ) |
Default constructor. All fields will be value-initilaized.
|
explicit |
Constructor for initialization of all fields.
[in] | proxy_ | Proxy server to use. Specify null to remove the proxy server. |
|
inlinefinalvirtual |
|
finalvirtual |