diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-01 11:12:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 11:12:15 +0200 |
commit | 8465ecc3ae5e33bf2aea04dd1db2d27455c0504f (patch) | |
tree | b9f2902bfe322bd1c68637a6f580001d0cf1a147 /modules/websocket/doc_classes | |
parent | 56b137afb79017d520278613be39202145fc6798 (diff) | |
parent | de02cf44ae4db141b42889e9f390e142baaa98d6 (diff) |
Merge pull request #51036 from winterpixelgames/master-ws-fix
WebsocketPeer outbound buffer fixes and buffer size query
Diffstat (limited to 'modules/websocket/doc_classes')
-rw-r--r-- | modules/websocket/doc_classes/WebSocketPeer.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/websocket/doc_classes/WebSocketPeer.xml b/modules/websocket/doc_classes/WebSocketPeer.xml index 0e4cc7cfb6..ab7ef6c4d0 100644 --- a/modules/websocket/doc_classes/WebSocketPeer.xml +++ b/modules/websocket/doc_classes/WebSocketPeer.xml @@ -34,6 +34,12 @@ [b]Note:[/b] Not available in the HTML5 export. </description> </method> + <method name="get_current_outbound_buffered_amount" qualifiers="const"> + <return type="int" /> + <description> + Returns the current amount of data in the outbound websocket buffer. [b]Note:[/b] HTML5 exports use WebSocket.bufferedAmount, while other platforms use an internal buffer. + </description> + </method> <method name="get_write_mode" qualifiers="const"> <return type="int" enum="WebSocketPeer.WriteMode" /> <description> |