diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-17 11:27:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-17 11:27:23 +0200 |
commit | 363705e6875a24cb569a522257b1c443f050ae40 (patch) | |
tree | e5883f6e2f4f9edf5149fbcfdf7efb2d577bed6e /modules/websocket/websocket_client.h | |
parent | 2935caa13f3623b80a903f8c3349cea48a417c00 (diff) | |
parent | 5b2f098ed4444572432eb2e67c154f89852039ec (diff) |
Merge pull request #29781 from Faless/ws/set_buffers_internal
Allow setting websocket buffers sizes internally.
Diffstat (limited to 'modules/websocket/websocket_client.h')
-rw-r--r-- | modules/websocket/websocket_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
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(); }; |