WebRTCDataChannel Properties |
The WebRTCDataChannel type exposes the following members.
Name | Description | |
---|---|---|
AllowObjectDecoding | Deprecated. Use get_var and put_var parameters instead. If true, the PacketPeer will allow encoding and decoding of object via GetVar(Boolean) and PutVar(Object, Boolean). 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. | |
DynamicObject |
Gets a new DynamicGodotObject associated with this instance.
(Inherited from Object.) | |
EncodeBufferMaxSize | Maximum buffer size allowed when encoding Variants. Raise this value to support heavier memory allocations. The PutVar(Object, Boolean) method allocates memory on the stack, and the buffer used will grow automatically to the closest power of two to match the size of the Variant. If the Variant is bigger than encode_buffer_max_size, the method will error out with . | |
NativeInstance | (Inherited from Object.) | |
WriteMode | The transfer mode to use when sending outgoing packet. Either text or binary. |