summaryrefslogtreecommitdiff
path: root/modules/websocket/websocket_peer.h
diff options
context:
space:
mode:
authorJordan Schidlowsky <jordanschidlowsky@gmail.com>2021-07-29 14:11:27 -0600
committerJordan Schidlowsky <jordanschidlowsky@gmail.com>2021-07-31 19:48:31 -0600
commitde02cf44ae4db141b42889e9f390e142baaa98d6 (patch)
tree0eb6df64982dc4fd06350231f5cf1a18bda78c96 /modules/websocket/websocket_peer.h
parent44012fa61db860e66182fd8ea0b7a11de9cd75a9 (diff)
Websocket peer outbound buffer fixes. Expose outbound buffered amount.
Diffstat (limited to 'modules/websocket/websocket_peer.h')
-rw-r--r--modules/websocket/websocket_peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websocket/websocket_peer.h b/modules/websocket/websocket_peer.h
index e9bb20f21f..517b8600d6 100644
--- a/modules/websocket/websocket_peer.h
+++ b/modules/websocket/websocket_peer.h
@@ -59,6 +59,7 @@ public:
virtual uint16_t get_connected_port() const = 0;
virtual bool was_string_packet() const = 0;
virtual void set_no_delay(bool p_enabled) = 0;
+ virtual int get_current_outbound_buffered_amount() const = 0;
WebSocketPeer();
~WebSocketPeer();