Function PacketPeer.allowObjectDecoding
Deprecated. Use get_var
and put_var
parameters instead.
If true
, the PacketPeer will allow encoding and decoding of object via getVar
and putVar
.
Warning: Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution.
bool allowObjectDecoding() nothrow @property @nogc;
void allowObjectDecoding
(
bool v
) nothrow @property @nogc;