From ee90da4acbf8769d37b32e971434733d051a5e49 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 14 Jun 2019 17:19:23 +0200 Subject: Allow setting websocket buffers sizes internally. Needed by LSP. --- modules/websocket/websocket_client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/websocket/websocket_client.h') diff --git a/modules/websocket/websocket_client.h b/modules/websocket/websocket_client.h index c464d97c7f..7ddb9468a5 100644 --- a/modules/websocket/websocket_client.h +++ b/modules/websocket/websocket_client.h @@ -67,6 +67,8 @@ public: void _on_disconnect(bool p_was_clean); void _on_error(); + virtual Error set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer, int p_out_packets) = 0; + WebSocketClient(); ~WebSocketClient(); }; -- cgit v1.2.3