Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
WebRTCDataChannel¶
Inherits: PacketPeer < RefCounted < Object
Inherited By: WebRTCDataChannelExtension
There is currently no description for this class. Please help us by contributing one!
Properties¶
|
Methods¶
void |
close ( ) |
get_buffered_amount ( ) const |
|
get_id ( ) const |
|
get_label ( ) const |
|
get_max_packet_life_time ( ) const |
|
get_max_retransmits ( ) const |
|
get_protocol ( ) const |
|
get_ready_state ( ) const |
|
is_negotiated ( ) const |
|
is_ordered ( ) const |
|
poll ( ) |
|
was_string_packet ( ) const |
Enumerations¶
enum WriteMode:
WriteMode WRITE_MODE_TEXT = 0
Tells the channel to send data over this channel as text. An external peer (non-Godot) would receive this as a string.
WriteMode WRITE_MODE_BINARY = 1
Tells the channel to send data over this channel as binary. An external p