summaryrefslogtreecommitdiff
path: root/src/WebRTCLibDataChannel.hpp
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2021-07-20 11:54:25 -0500
committerDavid Snopek <dsnopek@gmail.com>2021-07-21 10:48:09 -0500
commit3bdf6cdc1320dfd7ac0f1704976a633ef3c911d8 (patch)
tree1216800fdd5f0ea965433f70b8df8c6a5d37a498 /src/WebRTCLibDataChannel.hpp
parent072ba5c1d09359058aab20cb8cdfdf4a4546e574 (diff)
downloadfork-godot-webrtc-native-3bdf6cdc1320dfd7ac0f1704976a633ef3c911d8.tar.gz
fork-godot-webrtc-native-3bdf6cdc1320dfd7ac0f1704976a633ef3c911d8.tar.bz2
fork-godot-webrtc-native-3bdf6cdc1320dfd7ac0f1704976a633ef3c911d8.zip
Add get_buffered_amount() to WebRTCDataChannel
Diffstat (limited to 'src/WebRTCLibDataChannel.hpp')
-rw-r--r--src/WebRTCLibDataChannel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebRTCLibDataChannel.hpp b/src/WebRTCLibDataChannel.hpp
index 1d1ce0f..63c7fdd 100644
--- a/src/WebRTCLibDataChannel.hpp
+++ b/src/WebRTCLibDataChannel.hpp
@@ -87,6 +87,7 @@ public:
int get_max_retransmits() const;
const char *get_protocol() const;
bool is_negotiated() const;
+ int get_buffered_amount() const;
godot_error poll();
void close();